Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008046/0.008046, allocations: 102.9 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 193.5 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.91 kB / 1.054 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8976, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002413/0.9001, allocations: 0.7094 MB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.9017, allocations: 0.8741 MB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.9018, allocations: 0 / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.074e-05/0.9019, allocations: 3.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.379e-05/0.902, allocations: 7.938 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.9023, allocations: 23.91 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.9024, allocations: 43.84 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.9026, allocations: 8 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.9027, allocations: 15.98 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.9028, allocations: 19.92 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.9028, allocations: 4 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.9028, allocations: 4 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.9029, allocations: 15.92 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.9029, allocations: 11.94 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.9031, allocations: 51.78 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.9031, allocations: 4 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.467e-06/0.9031, allocations: 4 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.9031, allocations: 0 / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006634/0.9038, allocations: 353.6 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.9038, allocations: 12.03 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.9039, allocations: 38.69 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.9039, allocations: 8.844 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.9041, allocations: 168.3 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.9042, allocations: 8.375 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.9042, allocations: 384 / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.9045, allocations: 66.22 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.9045, allocations: 3.938 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.9045, allocations: 0 / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.9045, allocations: 7.938 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.9048, allocations: 67.92 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.9053, allocations: 264.8 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.9056, allocations: 62.53 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.9057, allocations: 32.92 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.9058, allocations: 0 / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.9058, allocations: 34.56 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.9058, allocations: 0 / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005873/0.9064, allocations: 137.7 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.9064, allocations: 51.41 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.9066, allocations: 105.8 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.9066, allocations: 25.7 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.9067, allocations: 92.05 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.9067, allocations: 11.83 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.9068, allocations: 25.7 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9069, allocations: 310.8 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.9071, allocations: 31.97 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.9072, allocations: 35.94 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.9075, allocations: 80.66 kB / 1.211 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.9075, allocations: 0 / 1.211 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003349/0.9079, allocations: 97.56 kB / 1.211 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.9079, allocations: 5.719 kB / 1.211 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9079, allocations: 0 / 1.211 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.908, allocations: 0 / 1.211 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.9081, allocations: 19.98 kB / 1.211 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.9081, allocations: 4.297 kB / 1.211 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.9082, allocations: 11.98 kB / 1.211 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.9082, allocations: 0 / 1.211 GB, free: 9.375 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.9083, allocations: 117.8 kB / 1.211 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.9084, allocations: 3.906 kB / 1.211 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.9084, allocations: 7.906 kB / 1.211 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9084, allocations: 8 kB / 1.211 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.9085, allocations: 4 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9085, allocations: 0 / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.9087, allocations: 169.6 kB / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9087, allocations: 0 / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/0.9088, allocations: 15.92 kB / 1.211 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.9088, allocations: 4 kB / 1.211 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.9088, allocations: 4 kB / 1.211 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9088, allocations: 0 / 1.211 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9088, allocations: 3.984 kB / 1.211 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.9093, allocations: 195.4 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.9093, allocations: 84.95 kB / 1.212 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.9094, allocations: 4 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.9095, allocations: 11.98 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.9095, allocations: 11.98 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.9096, allocations: 0 / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.23e-05/0.9096, allocations: 87.28 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9096, allocations: 0 / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002271/0.9099, allocations: 4 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008306/0.9107, allocations: 0.7319 MB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.9111, allocations: 67.92 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9111, allocations: 0 / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.9113, allocations: 47.89 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.9116, allocations: 4.422 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.9122, allocations: 167 kB / 1.213 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.9125, allocations: 0.6807 MB / 1.214 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.9125, allocations: 4 kB / 1.214 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.9126, allocations: 19.42 kB / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.9126, allocations: 0 / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.9348, allocations: 1.688 MB / 1.215 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/8.507, allocations: 16.19 kB / 1.215 GB, free: 5.129 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches