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.001382/0.001382, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001384/0.001384, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8605/0.8619, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001705/0.8636, allocations: 0.5852 MB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.614e-05/0.8637, allocations: 6.031 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.8637, allocations: 0 / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.8638, allocations: 0 / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.06e-05/0.8638, allocations: 0 / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.659e-05/0.8639, allocations: 1.656 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.8639, allocations: 8.672 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.864, allocations: 5.266 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.864, allocations: 1.922 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.987e-05/0.864, allocations: 0 / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.864, allocations: 5.031 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-06/0.864, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.8641, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.8641, allocations: 5.125 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.231e-05/0.8642, allocations: 1.984 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.8642, allocations: 3.938 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8642, allocations: 0 / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8642, allocations: 1.25 kB / 1.089 GB, free: 5.137 MB / 0.8575 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.0002378/0.8644, allocations: 312.4 kB / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8645, allocations: 10.09 kB / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.8645, allocations: 5.641 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.953e-05/0.8646, allocations: 161.1 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.8646, allocations: 384 / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.8646, allocations: 2.094 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.611e-05/0.8647, allocations: 28.19 kB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8647, allocations: 192 / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.8647, allocations: 4.688 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.8647, allocations: 1.094 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.8647, allocations: 5.062 kB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.8649, allocations: 152.3 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.406e-05/0.8649, allocations: 17.55 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.8649, allocations: 8.328 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.8649, allocations: 0 / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.8649, allocations: 32.42 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.865, allocations: 0 / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001078/0.8651, allocations: 46.03 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.8651, allocations: 53.06 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.691e-05/0.8651, allocations: 89.86 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.8651, allocations: 27.38 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.022e-05/0.8651, allocations: 80.14 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.8652, allocations: 1.375 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.8652, allocations: 11.64 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.291e-05/0.8653, allocations: 315.5 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-06/0.8653, allocations: 5.25 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.8653, allocations: 2.016 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.8653, allocations: 11.83 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8653, allocations: 0 / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.371e-05/0.8654, allocations: 36.11 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.8654, allocations: 5.25 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.8654, allocations: 0 / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8654, allocations: 5.562 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.8655, allocations: 1.188 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.8655, allocations: 5.75 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-06/0.8655, allocations: 0 / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.8655, allocations: 1.062 kB / 1.091 GB, free: 3.57 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 4.56e-05/0.8655, allocations: 111.6 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.8655, allocations: 1.656 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.583e-05/0.8656, allocations: 11.61 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.8656, allocations: 0 / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.8656, allocations: 1.062 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8656, allocations: 0.7031 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.252e-05/0.8656, allocations: 149.1 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8656, allocations: 0 / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-06/0.8657, allocations: 1.344 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8657, allocations: 5.938 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.8657, allocations: 3.938 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8657, allocations: 4 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8657, allocations: 5.812 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.477e-05/0.8657, allocations: 59.7 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.8658, allocations: 78.41 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.8658, allocations: 5.672 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/0.8658, allocations: 0 / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.8658, allocations: 1.75 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.8658, allocations: 1.094 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.115e-05/0.8658, allocations: 75.28 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8658, allocations: 0 / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002086/0.866, allocations: 1.031 kB / 1.091 GB, free: 2.992 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.0001087/0.8662, allocations: 103.8 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.8662, allocations: 11.83 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8662, allocations: 1.156 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/0.8663, allocations: 1.312 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.8664, allocations: 7.078 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.8666, allocations: 106.4 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.391e-05/0.8667, allocations: 0.6708 MB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.8668, allocations: 12.5 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.8668, allocations: 0 / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.001536/0.8683, allocations: 328.9 kB / 1.092 GB, free: 2.047 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/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