Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 118.3 kB / 16.37 MB, free: 5.984 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.001421/0.001421, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.94 kB / 0.8141 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3558, allocations: 140.4 MB / 0.9512 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.002492/0.3583, allocations: 0.5854 MB / 0.9517 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 5.935e-05/0.3584, allocations: 4 kB / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.3584, allocations: 0 / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.057e-05/0.3585, allocations: 0 / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.3586, allocations: 0 / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.023e-05/0.3586, allocations: 3.938 kB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.3587, allocations: 4 kB / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.463e-05/0.3588, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.3588, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.578e-05/0.3588, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3589, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.3589, allocations: 8 kB / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.3589, allocations: 0 / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.3589, allocations: 0 / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.359, allocations: 11.97 kB / 0.9518 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3591, allocations: 0 / 0.9518 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3591, allocations: 0 / 0.9518 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.495e-06/0.3591, allocations: 0 / 0.9518 GB, free: 7.426 MB / 0.7325 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.0003961/0.3595, allocations: 307.6 kB / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.978e-05/0.3596, allocations: 8.031 kB / 0.9521 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.3596, allocations: 4.875 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3598, allocations: 164.4 kB / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.3598, allocations: 8.359 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3598, allocations: 384 / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.3599, allocations: 26.27 kB / 0.9522 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.36, allocations: 192 / 0.9522 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.36, allocations: 7.875 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.36, allocations: 0 / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.36, allocations: 8 kB / 0.9523 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.3602, allocations: 141.7 kB / 0.9524 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.191e-05/0.3603, allocations: 22.61 kB / 0.9524 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.3604, allocations: 4.859 kB / 0.9524 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3604, allocations: 7.922 kB / 0.9524 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.3604, allocations: 38.62 kB / 0.9525 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3604, allocations: 4 kB / 0.9525 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001787/0.3606, allocations: 41.48 kB / 0.9525 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.3607, allocations: 55.53 kB / 0.9526 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.3608, allocations: 89.86 kB / 0.9527 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3608, allocations: 25.7 kB / 0.9527 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.3608, allocations: 80.14 kB / 0.9528 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.3609, allocations: 0 / 0.9528 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.3609, allocations: 17.72 kB / 0.9528 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3611, allocations: 310.8 kB / 0.9531 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.3611, allocations: 3.984 kB / 0.9531 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.3611, allocations: 4 kB / 0.9531 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.3611, allocations: 12.8 kB / 0.9531 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3611, allocations: 0 / 0.9531 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.996e-05/0.3612, allocations: 37.7 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3612, allocations: 8 kB / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3613, allocations: 0 / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3613, allocations: 3.938 kB / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/0.3614, allocations: 0 / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3614, allocations: 0 / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.3614, allocations: 12.08 kB / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3614, allocations: 0 / 0.9531 GB, free: 5.773 MB / 0.7325 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 8.429e-05/0.3615, allocations: 111.8 kB / 0.9533 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.3615, allocations: 3.938 kB / 0.9533 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.3615, allocations: 7.062 kB / 0.9533 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3615, allocations: 0 / 0.9533 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3616, allocations: 4 kB / 0.9533 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3616, allocations: 0 / 0.9533 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3617, allocations: 141.7 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3617, allocations: 4 kB / 0.9534 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.3617, allocations: 3.984 kB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3617, allocations: 4 kB / 0.9534 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3617, allocations: 7.875 kB / 0.9534 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3618, allocations: 0 / 0.9534 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3618, allocations: 0 / 0.9534 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.859e-05/0.3619, allocations: 53.14 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.3619, allocations: 77.11 kB / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3619, allocations: 11.97 kB / 0.9536 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.3619, allocations: 3.984 kB / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.362, allocations: 0 / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.362, allocations: 0 / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.362, allocations: 79.22 kB / 0.9536 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.362, allocations: 0 / 0.9536 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002144/0.3622, allocations: 0 / 0.9536 GB, free: 5.176 MB / 0.7325 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.0001853/0.3624, allocations: 103.2 kB / 0.9537 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.716e-05/0.3625, allocations: 11.94 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3625, allocations: 0 / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.3626, allocations: 4 kB / 0.9537 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.3627, allocations: 0 / 0.9537 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.3631, allocations: 97.47 kB / 0.9538 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.3634, allocations: 0.6727 MB / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.443e-05/0.3634, allocations: 0 / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.3634, allocations: 11.44 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.3634, allocations: 4.125 kB / 0.9545 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of Templates: time 0.002592/0.366, allocations: 177.6 kB / 0.9547 GB, free: 4.047 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches