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.001461/0.001461, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001837, allocations: 198 kB / 16.54 MB, free: 6.391 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.564/2.564, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.88 kB / 0.8126 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.8623, allocations: 140.3 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001845/0.8642, allocations: 0.5764 MB / 0.9502 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.991e-05/0.8643, allocations: 0 / 0.9502 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.8643, allocations: 1.5 kB / 0.9502 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.8643, allocations: 0 / 0.9502 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.432e-05/0.8644, allocations: 3.984 kB / 0.9502 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.192e-05/0.8644, allocations: 0 / 0.9502 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.8645, allocations: 1.25 kB / 0.9502 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.8645, allocations: 5.219 kB / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.484e-05/0.8645, allocations: 1.656 kB / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.778e-05/0.8646, allocations: 0 / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.8646, allocations: 3.938 kB / 0.9502 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-06/0.8646, allocations: 9.156 kB / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.8646, allocations: 3.938 kB / 0.9502 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.8646, allocations: 3.984 kB / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.176e-05/0.8647, allocations: 1.5 kB / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8647, allocations: 0 / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.355e-06/0.8647, allocations: 0 / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.8647, allocations: 1.625 kB / 0.9502 GB, free: 8.734 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.000202/0.8649, allocations: 308.9 kB / 0.9505 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.865, allocations: 10.12 kB / 0.9505 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.865, allocations: 4.938 kB / 0.9505 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.912e-05/0.865, allocations: 165.5 kB / 0.9507 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.8651, allocations: 384 / 0.9507 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-06/0.8651, allocations: 1.531 kB / 0.9507 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.966e-05/0.8652, allocations: 27.7 kB / 0.9507 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.8652, allocations: 192 / 0.9507 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.8652, allocations: 3.938 kB / 0.9507 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.8652, allocations: 1.406 kB / 0.9507 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.8652, allocations: 5.188 kB / 0.9507 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.954e-05/0.8653, allocations: 150.9 kB / 0.9509 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.067e-05/0.8653, allocations: 19.8 kB / 0.9509 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.8654, allocations: 7.391 kB / 0.9509 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.8654, allocations: 1.531 kB / 0.9509 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.8654, allocations: 30.56 kB / 0.9509 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.8654, allocations: 0 / 0.9509 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.995e-05/0.8655, allocations: 46.03 kB / 0.951 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.8655, allocations: 52.81 kB / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.526e-05/0.8656, allocations: 93.86 kB / 0.9511 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.8656, allocations: 29.64 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-06/0.8656, allocations: 81.48 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.8656, allocations: 3.906 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.8656, allocations: 11.38 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.8657, allocations: 312.5 kB / 0.9515 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.8657, allocations: 4.031 kB / 0.9515 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.8657, allocations: 1.281 kB / 0.9515 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.413e-05/0.8657, allocations: 15.77 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8657, allocations: 0 / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.492e-05/0.8658, allocations: 39.22 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.8658, allocations: 4.156 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8658, allocations: 1.344 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.8658, allocations: 3.938 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.8659, allocations: 1.312 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.8659, allocations: 5.531 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.629e-06/0.8659, allocations: 3.938 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.8659, allocations: 0 / 0.9516 GB, free: 7.141 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 3.849e-05/0.866, allocations: 107.1 kB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-06/0.866, allocations: 1.5 kB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.424e-05/0.866, allocations: 7.062 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.866, allocations: 0 / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.866, allocations: 1.25 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.866, allocations: 3.984 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.309e-05/0.8661, allocations: 151.2 kB / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8661, allocations: 0 / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.8661, allocations: 1.281 kB / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.8661, allocations: 1.375 kB / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.8661, allocations: 3.938 kB / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8661, allocations: 0 / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8661, allocations: 1.375 kB / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.636e-05/0.8662, allocations: 66.56 kB / 0.9519 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.8662, allocations: 77.11 kB / 0.952 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.8662, allocations: 5.312 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-06/0.8662, allocations: 0 / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.8662, allocations: 1.375 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.8662, allocations: 0 / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.08e-05/0.8662, allocations: 79.22 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8662, allocations: 0 / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000212/0.8665, allocations: 1.375 kB / 0.9521 GB, free: 6.562 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 9.599e-05/0.8666, allocations: 107.9 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.21e-05/0.8666, allocations: 4.125 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8666, allocations: 0 / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-06/0.8666, allocations: 5.312 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.8668, allocations: 7.281 kB / 0.9522 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.867, allocations: 86 kB / 0.9523 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.8671, allocations: 0.678 MB / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.112e-05/0.8671, allocations: 4.125 kB / 0.9529 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.8671, allocations: 8.812 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8671, allocations: 0 / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of Templates: time 0.001755/0.8689, allocations: 172.2 kB / 0.9531 GB, free: 5.551 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