Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.001095, allocations: 113.5 kB / 16.41 MB, free: 6.492 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.001003/0.001003, allocations: 183 kB / 17.34 MB, free: 5.762 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9971/0.9986, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.002112/1.001, allocations: 0.5669 MB / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.731e-05/1.001, allocations: 8 kB / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/1.001, allocations: 0 / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/1.001, allocations: 0 / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.011e-05/1.001, allocations: 0 / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.78e-05/1.001, allocations: 0 / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.401e-05/1.001, allocations: 0 / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.769e-05/1.001, allocations: 7.984 kB / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/1.001, allocations: 11.86 kB / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.809e-05/1.001, allocations: 0 / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/1.001, allocations: 0 / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-06/1.001, allocations: 4 kB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/1.001, allocations: 0 / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/1.001, allocations: 0 / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.909e-05/1.001, allocations: 4 kB / 1.168 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.001, allocations: 0 / 1.168 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/1.001, allocations: 0 / 1.168 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.598e-06/1.001, allocations: 0 / 1.168 GB, free: 3.199 MB / 0.8887 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.0003018/1.002, allocations: 307.6 kB / 1.168 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.002, allocations: 20.88 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/1.002, allocations: 0.9375 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/1.002, allocations: 164.4 kB / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/1.002, allocations: 384 / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/1.002, allocations: 384 / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/1.002, allocations: 38.25 kB / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/1.002, allocations: 192 / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/1.002, allocations: 3.938 kB / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.002, allocations: 0 / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/1.002, allocations: 3.938 kB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/1.002, allocations: 153.7 kB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.57e-05/1.002, allocations: 22.52 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/1.002, allocations: 8.953 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/1.002, allocations: 0 / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/1.002, allocations: 30.56 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/1.002, allocations: 0 / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001239/1.002, allocations: 41.58 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/1.003, allocations: 55.53 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/1.003, allocations: 93.86 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/1.003, allocations: 25.7 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/1.003, allocations: 80.14 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/1.003, allocations: 3.984 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/1.003, allocations: 9.719 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.003, allocations: 314.8 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/1.003, allocations: 4 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/1.003, allocations: 4 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.454e-05/1.003, allocations: 8.859 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.003, allocations: 0 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.62e-05/1.003, allocations: 33.64 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.003, allocations: 4 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.003, allocations: 0 / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.003, allocations: 11.92 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/1.003, allocations: 0 / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.003, allocations: 0 / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-06/1.003, allocations: 4.094 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/1.003, allocations: 0 / 1.169 GB, free: 1.555 MB / 0.8887 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.102e-05/1.003, allocations: 113.8 kB / 1.169 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/1.003, allocations: 3.906 kB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/1.003, allocations: 7.062 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/1.003, allocations: 0 / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.003, allocations: 0 / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.003, allocations: 0 / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.948e-05/1.003, allocations: 149.6 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.003, allocations: 8 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/1.003, allocations: 0 / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/1.003, allocations: 0 / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/1.003, allocations: 3.938 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.003, allocations: 3.938 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/1.003, allocations: 0 / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.95e-05/1.003, allocations: 65.06 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/1.003, allocations: 77.11 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/1.003, allocations: 7.969 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-06/1.003, allocations: 4 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/1.004, allocations: 0 / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/1.004, allocations: 4 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.192e-05/1.004, allocations: 75.28 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.11e-07/1.004, allocations: 0 / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001896/1.004, allocations: 0 / 1.17 GB, free: 0.9414 MB / 0.8887 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.0001547/1.004, allocations: 99.25 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.38e-05/1.004, allocations: 19.92 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.004, allocations: 0 / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.899e-06/1.004, allocations: 0 / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/1.004, allocations: 6.5 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/1.004, allocations: 115 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/1.005, allocations: 0.669 MB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/1.005, allocations: 7.438 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/1.005, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.001642/1.006, allocations: 346.4 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches