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.001445/0.001445, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001498/0.001498, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.384/1.384, 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.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.7721, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001778/0.7739, allocations: 0.6154 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008719/0.7748, allocations: 0.8046 MB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.7749, allocations: 0 / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.7749, allocations: 1.219 kB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.377e-05/0.775, allocations: 12.44 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.7751, allocations: 8.172 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.7752, allocations: 20.59 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.079e-05/0.7752, allocations: 3.453 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.439e-05/0.7753, allocations: 6.453 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.7754, allocations: 8.703 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.7754, allocations: 6.125 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-06/0.7754, allocations: 1.312 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.7755, allocations: 4.641 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.7755, allocations: 10.98 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.032e-05/0.7756, allocations: 13.78 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7756, allocations: 3.938 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7756, allocations: 0.5156 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.7756, allocations: 1.406 kB / 1.09 GB, free: 4.488 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.0003308/0.7759, allocations: 327.9 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.776, allocations: 9.344 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.776, allocations: 6.469 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.109e-05/0.7761, allocations: 163.6 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.7761, allocations: 4.375 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.7761, allocations: 1.625 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.7763, allocations: 38.84 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.7763, allocations: 192 / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.7763, allocations: 5 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.7763, allocations: 0 / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.805e-05/0.7764, allocations: 11.86 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.7765, allocations: 153.5 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.628e-05/0.7766, allocations: 33.73 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.009e-05/0.7766, allocations: 14.86 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.7766, allocations: 0.7031 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.7767, allocations: 35.47 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7767, allocations: 1.125 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001975/0.7769, allocations: 63.78 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.7769, allocations: 55.34 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.777, allocations: 107 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.777, allocations: 25.7 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.777, allocations: 82.23 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.777, allocations: 5 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.7771, allocations: 15.36 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.7771, allocations: 313.6 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.7772, allocations: 10.5 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/0.7772, allocations: 10.19 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.743e-05/0.7773, allocations: 17.67 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7773, allocations: 0 / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.888e-05/0.7774, allocations: 51.14 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.7774, allocations: 5.984 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7774, allocations: 3.938 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.7774, allocations: 5.25 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.7775, allocations: 3.797 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.7775, allocations: 0.9688 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.7775, allocations: 3.078 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.7775, allocations: 0.7031 kB / 1.092 GB, free: 2.879 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 4.577e-05/0.7776, allocations: 108.1 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.7776, allocations: 1.672 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.7776, allocations: 12.67 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.7776, allocations: 4 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7777, allocations: 1.672 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7777, allocations: 0 / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.056e-05/0.7777, allocations: 149 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7777, allocations: 0 / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.7778, allocations: 9.594 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7778, allocations: 0 / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.7778, allocations: 5.719 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7778, allocations: 0 / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7778, allocations: 0 / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.7779, allocations: 88.72 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.778, allocations: 77.86 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.778, allocations: 5.547 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.956e-05/0.778, allocations: 2.266 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.778, allocations: 2.719 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.778, allocations: 256 / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.7781, allocations: 85.5 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7781, allocations: 4.031 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001758/0.7783, allocations: 2.562 kB / 1.092 GB, free: 2.289 MB / 0.8575 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 (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 Backend phase and start with SimCode phase: time 0.0001108/0.7784, allocations: 98.64 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.7785, allocations: 23.45 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7785, allocations: 0 / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.7786, allocations: 11.89 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.7787, allocations: 9.859 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.779, allocations: 124.7 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.7791, allocations: 0.6752 MB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.7791, allocations: 12 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.7791, allocations: 0 / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of Templates: time 0.001899/0.781, allocations: 465.6 kB / 1.094 GB, free: 1.32 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