Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 109.3 kB / 16.41 MB, free: 6.453 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.001494/0.001494, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.89 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6731/0.6743, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001758/0.6761, allocations: 0.7124 MB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.677, allocations: 0.8726 MB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.6771, allocations: 4 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.6771, allocations: 3.938 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.943e-05/0.6772, allocations: 3.938 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.6773, allocations: 27.91 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.785e-05/0.6774, allocations: 39.91 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.6775, allocations: 15.98 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.6776, allocations: 19.92 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.6776, allocations: 19.92 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.6776, allocations: 4 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-06/0.6777, allocations: 4 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.6777, allocations: 11.94 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.6777, allocations: 15.92 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.487e-05/0.6778, allocations: 43.86 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6778, allocations: 3.938 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6778, allocations: 0 / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.6778, allocations: 0 / 1.169 GB, free: 2.035 MB / 0.8887 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.0004621/0.6783, allocations: 371.8 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.6783, allocations: 8.922 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.6784, allocations: 8.891 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.6785, allocations: 164.3 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.6785, allocations: 384 / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.6785, allocations: 8.375 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.6787, allocations: 62.22 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6788, allocations: 192 / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.6788, allocations: 15.92 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6788, allocations: 4 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.679, allocations: 55.94 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.6793, allocations: 272.8 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.6795, allocations: 62.47 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.6797, allocations: 36.92 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.6797, allocations: 0 / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.6797, allocations: 38.55 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.6797, allocations: 0 / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.000456/0.6802, allocations: 133.5 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.6802, allocations: 51.41 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.6803, allocations: 109.8 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.6803, allocations: 25.7 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.6803, allocations: 92.12 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.6804, allocations: 15.84 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.6804, allocations: 13.72 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6805, allocations: 314.8 kB / 1.171 GB, free: 16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.6806, allocations: 35.95 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.6808, allocations: 27.97 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.681, allocations: 72.78 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.681, allocations: 3.938 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002706/0.6813, allocations: 97.56 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.6813, allocations: 4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.6813, allocations: 4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6813, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.6815, allocations: 23.91 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.6815, allocations: 0 / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.6815, allocations: 11.98 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.6816, allocations: 320 / 1.171 GB, free: 15.71 MB / 0.9044 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 7.006e-05/0.6816, allocations: 117.8 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.6817, allocations: 7.953 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.6817, allocations: 7.891 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.6817, allocations: 4 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6817, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6817, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.6819, allocations: 173.6 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6819, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.682, allocations: 11.98 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.682, allocations: 3.938 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.682, allocations: 7.984 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.682, allocations: 4 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.682, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.6823, allocations: 191.4 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.6824, allocations: 81.06 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.6824, allocations: 4 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/0.6825, allocations: 19.91 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.6826, allocations: 8 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.6826, allocations: 0 / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.6826, allocations: 95.25 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6826, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002091/0.6828, allocations: 4 kB / 1.172 GB, free: 14.88 MB / 0.9044 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.0001501/0.683, allocations: 99.25 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.6833, allocations: 75.86 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6833, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.6835, allocations: 36.42 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.6838, allocations: 14.91 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.6842, allocations: 143.1 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.6845, allocations: 0.6806 MB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.6845, allocations: 15.44 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of SimCode: time 2.845e-06/0.6845, allocations: 0 / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.002124/0.6866, allocations: 0.7505 MB / 1.174 GB, free: 13.01 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches