Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.00135, allocations: 112.5 kB / 16.42 MB, free: 6.449 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.001506/0.001506, allocations: 188.2 kB / 17.35 MB, free: 5.719 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.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 75.88 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8656/0.867, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001745/0.8688, allocations: 0.6624 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007857/0.8696, allocations: 0.8058 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.8696, allocations: 0 / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.8697, allocations: 0.7031 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.8697, allocations: 9.281 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.8699, allocations: 4.156 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.8699, allocations: 28.55 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.87, allocations: 11.5 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.8701, allocations: 9.297 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.8701, allocations: 14.67 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.8702, allocations: 1.5 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.8702, allocations: 1.438 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.8702, allocations: 6.797 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.8702, allocations: 6.438 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.728e-05/0.8703, allocations: 25.3 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8703, allocations: 0 / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8703, allocations: 3.938 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.8703, allocations: 0.9062 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003735/0.8707, allocations: 332.5 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.8708, allocations: 14.03 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.8708, allocations: 10.06 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.8709, allocations: 166.6 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.8709, allocations: 1.438 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.8709, allocations: 1.5 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.8711, allocations: 53.52 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.8711, allocations: 192 / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.8711, allocations: 7.938 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.8711, allocations: 1.766 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.8713, allocations: 32.61 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.8716, allocations: 253.9 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.8717, allocations: 40.02 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.8718, allocations: 24.06 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.8718, allocations: 1.516 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.8718, allocations: 36.39 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.8718, allocations: 0 / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000342/0.8722, allocations: 87.61 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.566e-05/0.8722, allocations: 51.41 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.973e-05/0.8723, allocations: 101.5 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.8723, allocations: 25.7 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.8723, allocations: 86.78 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.8723, allocations: 5.422 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.8724, allocations: 11.95 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.8724, allocations: 313.7 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.8725, allocations: 21.72 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.8726, allocations: 15 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.8728, allocations: 40.45 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8728, allocations: 1.125 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.873, allocations: 78.83 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.873, allocations: 7.609 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.873, allocations: 3.938 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.873, allocations: 1.703 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.8731, allocations: 8.484 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.8732, allocations: 0 / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.8732, allocations: 6.844 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.8732, allocations: 1 kB / 1.092 GB, free: 2.695 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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 4.673e-05/0.8733, allocations: 111.6 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.8733, allocations: 5.5 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.8735, allocations: 75.95 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8735, allocations: 3.938 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8735, allocations: 1.094 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.8736, allocations: 79.3 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.8736, allocations: 0 / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.727e-05/0.8737, allocations: 10.3 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.8737, allocations: 2.812 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002224/0.8739, allocations: 150.4 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002093/0.8741, allocations: 238.4 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.826e-05/0.8742, allocations: 20.16 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.8743, allocations: 83.45 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of Backend: time 3.01e-07/0.8743, allocations: 0 / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.8747, allocations: 94.33 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003874/0.8751, allocations: 0.5581 MB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of Templates: time 0.00271/0.8778, allocations: 0.5181 MB / 1.094 GB, free: 1.301 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches