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.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.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.009544/0.009544, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002287/0.002287, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.677/1.677, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 2.574/2.574, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 61.11 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001618/0.3458, allocations: 0.5721 MB / 1.089 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 4.882e-05/0.3459, allocations: 11.94 kB / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.3459, allocations: 4 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.3459, allocations: 0 / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.055e-05/0.346, allocations: 0 / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.974e-05/0.346, allocations: 3.984 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.125e-05/0.3461, allocations: 0 / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.3461, allocations: 4 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.521e-05/0.3461, allocations: 0 / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.592e-05/0.3462, allocations: 0 / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.3462, allocations: 0 / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-06/0.3462, allocations: 0 / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.3462, allocations: 0 / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.3462, allocations: 7.984 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.762e-05/0.3463, allocations: 7.938 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3463, allocations: 4 kB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3463, allocations: 0 / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.046e-06/0.3463, allocations: 0 / 1.089 GB, free: 0.8867 MB / 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.0003173/0.3467, allocations: 307.5 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3467, allocations: 12.06 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.3468, allocations: 0.9375 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.3469, allocations: 160.4 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3469, allocations: 8.312 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.3469, allocations: 384 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.347, allocations: 30.27 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.347, allocations: 192 / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.347, allocations: 3.938 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3471, allocations: 0 / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/0.3471, allocations: 4 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.3472, allocations: 153.6 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.425e-05/0.3473, allocations: 18.58 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.3473, allocations: 12.89 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.3473, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.3474, allocations: 34.56 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3474, allocations: 0 / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.3475, allocations: 41.56 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.3476, allocations: 51.41 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.284e-05/0.3477, allocations: 93.98 kB / 1.089 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3477, allocations: 29.7 kB / 1.089 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.3477, allocations: 80.14 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.3477, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.3478, allocations: 13.72 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3479, allocations: 310.8 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.3479, allocations: 4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.348, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.476e-05/0.348, allocations: 12.92 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.348, allocations: 4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.122e-05/0.3481, allocations: 41.62 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3481, allocations: 4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3481, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3481, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.3482, allocations: 4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3482, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.3482, allocations: 7.891 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.3482, allocations: 4.031 kB / 1.09 GB, free: 15.24 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 7.661e-05/0.3483, allocations: 109.8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-06/0.3483, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.3484, allocations: 7.062 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3484, allocations: 3.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3484, allocations: 3.984 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.3484, allocations: 3.984 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.3485, allocations: 141.7 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3485, allocations: 4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-06/0.3485, allocations: 4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3485, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3485, allocations: 3.938 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3486, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3486, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.823e-05/0.3486, allocations: 65.06 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.3487, allocations: 77.11 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3487, allocations: 3.938 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.3487, allocations: 4.031 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.3487, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.3488, allocations: 7.938 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.3488, allocations: 75.28 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3488, allocations: 0 / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001924/0.349, allocations: 0 / 1.09 GB, free: 14.64 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.0001447/0.3491, allocations: 107.2 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.618e-05/0.3492, allocations: 8 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3492, allocations: 352 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.034e-06/0.3492, allocations: 3.938 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.3494, allocations: 5.891 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.3496, allocations: 78.56 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.35, allocations: 0.6729 MB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.671e-05/0.35, allocations: 4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.35, allocations: 7.438 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.35, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of Templates: time 0.001912/0.3519, allocations: 172.8 kB / 1.091 GB, free: 13.52 MB / 0.8575 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 -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/jenkins/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