Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001314, allocations: 120.1 kB / 16.42 MB, free: 6.496 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.001208/0.001208, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.397/1.397, allocations: 222.9 MB / 241 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.352/2.352, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9724/0.9737, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002164/0.9759, allocations: 0.6167 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.977, allocations: 0.8006 MB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.977, allocations: 0 / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.9771, allocations: 4 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.526e-05/0.9771, allocations: 5.578 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.9773, allocations: 13.94 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.9774, allocations: 22.09 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.391e-05/0.9775, allocations: 1.859 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.9776, allocations: 6.781 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.9776, allocations: 9.312 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.9777, allocations: 5.094 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.9777, allocations: 1.156 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.9777, allocations: 4.516 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.9777, allocations: 15.3 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.643e-05/0.9778, allocations: 14.02 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.9778, allocations: 1.062 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9779, allocations: 0 / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9779, allocations: 0 / 1.09 GB, free: 4.473 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004419/0.9783, allocations: 332.8 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.9784, allocations: 9.375 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.9784, allocations: 5.938 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.94e-05/0.9785, allocations: 167.8 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.9785, allocations: 384 / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.9785, allocations: 1.781 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.9787, allocations: 38.06 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.9787, allocations: 1.312 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.9787, allocations: 3.938 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.9787, allocations: 0.5156 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.9788, allocations: 16.28 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.9789, allocations: 160.2 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.979, allocations: 25.95 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.979, allocations: 15.44 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.9791, allocations: 1.094 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.9791, allocations: 35.16 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.9791, allocations: 1.062 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002272/0.9793, allocations: 62.62 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.597e-05/0.9794, allocations: 52.62 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.9794, allocations: 103.2 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.9794, allocations: 25.7 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.9795, allocations: 82.25 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.9795, allocations: 3.906 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.9795, allocations: 18.09 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.9796, allocations: 316 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.9796, allocations: 5.641 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.9797, allocations: 10.69 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.9798, allocations: 17.78 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9798, allocations: 0.6562 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001118/0.9799, allocations: 49.92 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.9799, allocations: 10.17 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9799, allocations: 0 / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.9799, allocations: 5 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.98, allocations: 4.406 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.98, allocations: 1.094 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.9801, allocations: 1.844 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.9801, allocations: 1.688 kB / 1.092 GB, free: 2.863 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 (1): * Single equations (assignments): 1 * 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 5.524e-05/0.9802, allocations: 107.4 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.9802, allocations: 1.312 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.9802, allocations: 17.58 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.9802, allocations: 0 / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9802, allocations: 1.25 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.9803, allocations: 85.61 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.9803, allocations: 1.656 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.9803, allocations: 3.047 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.9804, allocations: 1.781 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001459/0.9805, allocations: 126.4 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001636/0.9807, allocations: 226 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.1e-05/0.9807, allocations: 6.703 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.9808, allocations: 85.22 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of Backend: time 1.91e-07/0.9808, allocations: 3.938 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.9812, allocations: 88.69 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003461/0.9816, allocations: 0.5563 MB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of Templates: time 0.002785/0.9843, allocations: 355.3 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches