Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.241/2.241, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 180.8 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 95.88 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.031e-05, allocations: 12 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3631, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.493, allocations: 148.4 MB / 1.357 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.493, allocations: 71.48 kB / 1.357 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001052/1.494, allocations: 367.1 kB / 1.358 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.923e-06/1.494, allocations: 0 / 1.358 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.41e-06/1.494, allocations: 0 / 1.358 GB, free: 33.14 MB / 0.8386 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.0002017/1.494, allocations: 305.3 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.494, allocations: 11.56 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/1.494, allocations: 0.9688 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.816e-05/1.494, allocations: 164.6 kB / 1.358 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.494, allocations: 2.438 kB / 1.358 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/1.494, allocations: 0.625 kB / 1.358 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.724e-05/1.494, allocations: 4.438 kB / 1.358 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.621e-05/1.495, allocations: 30.5 kB / 1.358 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.495, allocations: 0 / 1.358 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/1.495, allocations: 0 / 1.358 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.495, allocations: 0 / 1.358 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/1.495, allocations: 135.3 kB / 1.358 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/1.495, allocations: 21.42 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/1.495, allocations: 9.484 kB / 1.358 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/1.495, allocations: 0 / 1.358 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/1.495, allocations: 34.56 kB / 1.358 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/1.495, allocations: 0 / 1.358 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001108/1.495, allocations: 30.81 kB / 1.358 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/1.495, allocations: 51.41 kB / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.404e-05/1.495, allocations: 86.12 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/1.495, allocations: 26.58 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/1.495, allocations: 87.95 kB / 1.359 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/1.495, allocations: 0.6406 kB / 1.359 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/1.495, allocations: 4 kB / 1.359 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/1.495, allocations: 315.4 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-06/1.495, allocations: 3.938 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-06/1.495, allocations: 0 / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.34e-05/1.495, allocations: 0 / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.495, allocations: 5.812 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.025e-05/1.495, allocations: 35.25 kB / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.495, allocations: 4.594 kB / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/1.495, allocations: 4.094 kB / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.495, allocations: 0 / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/1.495, allocations: 4.531 kB / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/1.495, allocations: 0 / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-06/1.495, allocations: 0 / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/1.495, allocations: 0.75 kB / 1.359 GB, free: 31.67 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/1.495, allocations: 101 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/1.495, allocations: 7.797 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.752e-05/1.496, allocations: 4.359 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/1.496, allocations: 4.656 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.496, allocations: 3.938 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/1.496, allocations: 0 / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.17e-05/1.496, allocations: 129 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.496, allocations: 3.141 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.738e-06/1.496, allocations: 3.844 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/1.496, allocations: 3.938 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/1.496, allocations: 8.641 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/1.496, allocations: 0 / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.496, allocations: 0 / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.365e-05/1.496, allocations: 62.72 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/1.496, allocations: 77.81 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/1.496, allocations: 0.7031 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-06/1.496, allocations: 7.453 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/1.496, allocations: 0 / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/1.496, allocations: 0.6562 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.357e-05/1.496, allocations: 75.28 kB / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.496, allocations: 3.844 kB / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001936/1.496, allocations: 4 kB / 1.359 GB, free: 31.13 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001102/1.496, allocations: 99.78 kB / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.893e-05/1.496, allocations: 3.938 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.496, allocations: 0 / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.16e-06/1.496, allocations: 3.875 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/1.496, allocations: 1.531 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001531/1.496, allocations: 45.36 kB / 1.36 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/1.497, allocations: 0.6788 MB / 1.36 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.342e-05/1.497, allocations: 0 / 1.36 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.45e-05/1.497, allocations: 8.234 kB / 1.36 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.497, allocations: 0 / 1.36 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.001691/1.498, allocations: 166 kB / 1.36 GB, free: 30.23 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches