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.0008452/0.0008452, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.006287/0.006288, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.552/1.552, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.723/2.723, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 16 kB / 0.816 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.841/0.8414, allocations: 142.4 MB / 0.9551 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.0009392/0.8424, allocations: 313.6 kB / 0.9554 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.142e-05/0.8424, allocations: 7.984 kB / 0.9554 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.8425, allocations: 1.219 kB / 0.9554 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.8425, allocations: 0 / 0.9554 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.195e-05/0.8425, allocations: 0 / 0.9554 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.18e-05/0.8426, allocations: 1.156 kB / 0.9554 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.758e-05/0.8426, allocations: 9.031 kB / 0.9554 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.8427, allocations: 1.031 kB / 0.9554 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.8427, allocations: 0 / 0.9554 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.615e-05/0.8428, allocations: 1.25 kB / 0.9554 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.8428, allocations: 3.938 kB / 0.9554 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/0.8428, allocations: 0 / 0.9554 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.8428, allocations: 5.156 kB / 0.9554 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.8429, allocations: 25.7 kB / 0.9554 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.49e-05/0.8429, allocations: 5.047 kB / 0.9554 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8429, allocations: 0 / 0.9554 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.165e-06/0.8429, allocations: 0 / 0.9554 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.843, allocations: 1.188 kB / 0.9554 GB, free: 7.387 MB / 0.7169 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.0002605/0.8432, allocations: 304.6 kB / 0.9557 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.8433, allocations: 13.19 kB / 0.9557 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.8433, allocations: 6.031 kB / 0.9557 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.382e-05/0.8434, allocations: 160.4 kB / 0.9559 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.8435, allocations: 8.375 kB / 0.9559 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.8435, allocations: 1.281 kB / 0.9559 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.8436, allocations: 32.31 kB / 0.9559 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8436, allocations: 192 / 0.9559 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.8436, allocations: 3.938 kB / 0.9559 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8436, allocations: 1.062 kB / 0.9559 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.958e-05/0.8437, allocations: 4.75 kB / 0.9559 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.8438, allocations: 142.8 kB / 0.9561 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.981e-05/0.8438, allocations: 25.05 kB / 0.9561 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.8438, allocations: 7.172 kB / 0.9561 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.8439, allocations: 0 / 0.9561 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.8439, allocations: 35.64 kB / 0.9561 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.8439, allocations: 0 / 0.9561 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.844, allocations: 38.3 kB / 0.9562 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.8441, allocations: 56.84 kB / 0.9562 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.637e-05/0.8441, allocations: 89.86 kB / 0.9563 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.8441, allocations: 33.64 kB / 0.9563 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.318e-05/0.8441, allocations: 81.33 kB / 0.9564 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.8442, allocations: 3.906 kB / 0.9564 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.8442, allocations: 10.84 kB / 0.9564 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.8442, allocations: 310.8 kB / 0.9567 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-06/0.8443, allocations: 1.031 kB / 0.9567 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-06/0.8443, allocations: 1.25 kB / 0.9567 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.8443, allocations: 15.31 kB / 0.9567 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8443, allocations: 1.062 kB / 0.9568 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.136e-05/0.8444, allocations: 38.95 kB / 0.9568 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8444, allocations: 4.281 kB / 0.9568 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8444, allocations: 0 / 0.9568 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.8444, allocations: 5.25 kB / 0.9568 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.8445, allocations: 1.125 kB / 0.9568 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.8445, allocations: 1.25 kB / 0.9568 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.8445, allocations: 4.031 kB / 0.9568 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.8445, allocations: 0 / 0.9568 GB, free: 5.797 MB / 0.7169 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 5.475e-05/0.8446, allocations: 107.1 kB / 0.9569 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-06/0.8446, allocations: 1.125 kB / 0.9569 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.8446, allocations: 11.05 kB / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8446, allocations: 1.094 kB / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8446, allocations: 0 / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.8446, allocations: 0 / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.868e-05/0.8447, allocations: 150.8 kB / 0.9571 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.8447, allocations: 1 kB / 0.9571 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.8447, allocations: 5.031 kB / 0.9571 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8447, allocations: 1 kB / 0.9571 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.8447, allocations: 3.938 kB / 0.9571 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8447, allocations: 5.328 kB / 0.9571 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8447, allocations: 0 / 0.9571 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.438e-05/0.8448, allocations: 58.72 kB / 0.9571 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.8448, allocations: 77.11 kB / 0.9572 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.8448, allocations: 8.938 kB / 0.9572 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.8448, allocations: 5 kB / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.8449, allocations: 4 kB / 0.9572 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.8449, allocations: 4.953 kB / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.911e-05/0.8449, allocations: 79.22 kB / 0.9573 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8449, allocations: 0 / 0.9573 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001863/0.8451, allocations: 1.844 kB / 0.9573 GB, free: 5.203 MB / 0.7169 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.0001266/0.8452, allocations: 100.1 kB / 0.9574 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.166e-05/0.8453, allocations: 10.72 kB / 0.9574 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8453, allocations: 0 / 0.9574 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.8453, allocations: 2.688 kB / 0.9574 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.8455, allocations: 3.062 kB / 0.9574 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.8457, allocations: 85.09 kB / 0.9575 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.8459, allocations: 0.6706 MB / 0.9582 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.544e-05/0.8459, allocations: 3.984 kB / 0.9582 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.8459, allocations: 7.562 kB / 0.9582 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.8459, allocations: 5.062 kB / 0.9582 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.002332/0.8483, allocations: 163.5 kB / 0.9583 GB, free: 4.199 MB / 0.7169 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