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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.004562/0.004562, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001191/0.001191, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.897/1.897, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.393/4.393, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 72.86 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4544, allocations: 140.4 MB / 1.088 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.003131/0.4576, allocations: 0.6073 MB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.4592, allocations: 0.8121 MB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.4593, allocations: 0 / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.4593, allocations: 0 / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.916e-05/0.4594, allocations: 3.938 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.4597, allocations: 7.984 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.4598, allocations: 11.94 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.302e-05/0.4598, allocations: 11.98 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.46, allocations: 15.86 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.4601, allocations: 8 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.4601, allocations: 0 / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-06/0.4601, allocations: 0 / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.4602, allocations: 8 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.4602, allocations: 7.922 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.4604, allocations: 19.91 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4604, allocations: 0 / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4604, allocations: 0 / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4604, allocations: 3.938 kB / 1.089 GB, free: 444 kB / 0.8419 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.000567/0.461, allocations: 334.3 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.4611, allocations: 12.03 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.844e-05/0.4611, allocations: 34.73 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.4612, allocations: 0.9375 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.4614, allocations: 164.4 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4614, allocations: 384 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.4614, allocations: 384 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.4616, allocations: 38.19 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4617, allocations: 3.938 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.4617, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.4617, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4619, allocations: 15.98 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.4621, allocations: 149.7 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.4622, allocations: 22.61 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.612e-05/0.4623, allocations: 16.91 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.4623, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.4624, allocations: 38.5 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.4624, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003373/0.4628, allocations: 57.61 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.4628, allocations: 51.41 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.463, allocations: 101.9 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.463, allocations: 25.7 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.4631, allocations: 80.14 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.4631, allocations: 8.031 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.4632, allocations: 17.7 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4633, allocations: 314.8 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.4634, allocations: 7.938 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.4635, allocations: 11.92 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4636, allocations: 24.84 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4636, allocations: 4.062 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001816/0.4638, allocations: 41.69 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.4638, allocations: 7.938 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4639, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4639, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.464, allocations: 7.984 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.464, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/0.4641, allocations: 8.25 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.4641, allocations: 4 kB / 1.091 GB, free: 14.62 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 9.269e-05/0.4642, allocations: 109.9 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.4643, allocations: 7.938 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.4643, allocations: 3.125 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4643, allocations: 7.875 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4643, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4643, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.4645, allocations: 157.7 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4645, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.4646, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4646, allocations: 7.938 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4646, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4646, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4646, allocations: 3.984 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.4649, allocations: 73.02 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.4649, allocations: 81.11 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.465, allocations: 3.938 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.465, allocations: 4.031 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.4651, allocations: 4 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4651, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.4652, allocations: 87.27 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.544e-06/0.4652, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003694/0.4655, allocations: 3.938 kB / 1.091 GB, free: 13.98 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.0006321/0.4662, allocations: 0.6091 MB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.4664, allocations: 19.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4664, allocations: 3.938 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.4665, allocations: 11.94 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.4668, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.4674, allocations: 144.7 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4677, allocations: 0.6768 MB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.686e-05/0.4678, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.4678, allocations: 7.438 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.4678, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2607/0.7286, allocations: 1.126 MB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.02, allocations: 4.625 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > 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