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.00164/0.00164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002366/0.002366, allocations: 190.4 kB / 16.25 MB, free: 6.648 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.545/2.545, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.8121 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8483/0.8498, allocations: 140.4 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.002093/0.8519, allocations: 0.6448 MB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.432e-05/0.852, allocations: 0 / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.852, allocations: 1.344 kB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.8521, allocations: 0 / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.737e-05/0.8521, allocations: 0 / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.187e-05/0.8521, allocations: 1.375 kB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.779e-05/0.8522, allocations: 1.188 kB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.023e-05/0.8523, allocations: 5.125 kB / 0.9498 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.826e-05/0.8523, allocations: 0 / 0.9498 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.294e-05/0.8523, allocations: 11.92 kB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.8523, allocations: 1.312 kB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-06/0.8523, allocations: 0 / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.8524, allocations: 0 / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.8524, allocations: 1.125 kB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.319e-05/0.8525, allocations: 1.25 kB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8525, allocations: 0 / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8525, allocations: 0 / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.8525, allocations: 0 / 0.9498 GB, free: 8.566 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.0002435/0.8527, allocations: 315.1 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8528, allocations: 8.938 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.8528, allocations: 2.281 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.955e-05/0.8529, allocations: 168.3 kB / 0.9502 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.8529, allocations: 384 / 0.9502 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.8529, allocations: 1.969 kB / 0.9502 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.791e-05/0.853, allocations: 36.47 kB / 0.9503 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.853, allocations: 192 / 0.9503 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.853, allocations: 3.938 kB / 0.9503 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.853, allocations: 4 kB / 0.9503 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.8531, allocations: 2.031 kB / 0.9503 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.8532, allocations: 141.7 kB / 0.9504 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.559e-05/0.8532, allocations: 20.52 kB / 0.9504 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.8533, allocations: 11.95 kB / 0.9505 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.8533, allocations: 0 / 0.9505 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.8533, allocations: 35.88 kB / 0.9505 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.8533, allocations: 0 / 0.9505 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.8534, allocations: 42.86 kB / 0.9505 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.8535, allocations: 51.41 kB / 0.9506 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.27e-05/0.8535, allocations: 93.8 kB / 0.9507 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.8535, allocations: 27.05 kB / 0.9507 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.259e-05/0.8535, allocations: 80.14 kB / 0.9508 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.8536, allocations: 7.906 kB / 0.9508 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.8536, allocations: 19.88 kB / 0.9508 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.8536, allocations: 312.1 kB / 0.9511 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.8536, allocations: 0 / 0.9511 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-06/0.8537, allocations: 1.375 kB / 0.9511 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.288e-05/0.8537, allocations: 7.484 kB / 0.9511 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8537, allocations: 3.984 kB / 0.9511 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.03e-05/0.8537, allocations: 34.98 kB / 0.9511 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.8538, allocations: 5.438 kB / 0.9512 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8538, allocations: 4.094 kB / 0.9512 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.8538, allocations: 5.312 kB / 0.9512 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.8538, allocations: 1.75 kB / 0.9512 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8539, allocations: 7.922 kB / 0.9512 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.8539, allocations: 0 / 0.9512 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.8539, allocations: 1.125 kB / 0.9512 GB, free: 6.965 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 4.72e-05/0.8539, allocations: 107 kB / 0.9513 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-06/0.8539, allocations: 0 / 0.9513 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.854, allocations: 12.02 kB / 0.9513 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.854, allocations: 4 kB / 0.9513 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.854, allocations: 0.75 kB / 0.9513 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.854, allocations: 0 / 0.9513 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.439e-05/0.8541, allocations: 147.9 kB / 0.9514 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.8541, allocations: 0 / 0.9514 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.101e-05/0.8541, allocations: 9.5 kB / 0.9514 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.8541, allocations: 0 / 0.9514 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.8541, allocations: 5.219 kB / 0.9514 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.8541, allocations: 3.984 kB / 0.9514 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.8541, allocations: 0 / 0.9514 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.309e-05/0.8542, allocations: 54.73 kB / 0.9515 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.8542, allocations: 78.52 kB / 0.9516 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.8542, allocations: 3.938 kB / 0.9516 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-06/0.8542, allocations: 9.344 kB / 0.9516 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.8542, allocations: 0 / 0.9516 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.8542, allocations: 9.328 kB / 0.9516 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.814e-05/0.8543, allocations: 75.28 kB / 0.9517 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8543, allocations: 4.031 kB / 0.9517 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001999/0.8545, allocations: 1.406 kB / 0.9517 GB, free: 6.371 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.0001132/0.8546, allocations: 97.44 kB / 0.9518 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.392e-05/0.8547, allocations: 3.812 kB / 0.9518 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8547, allocations: 0 / 0.9518 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.8547, allocations: 2.25 kB / 0.9518 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.8548, allocations: 3.672 kB / 0.9518 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.8551, allocations: 96.95 kB / 0.9519 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.8552, allocations: 0.6745 MB / 0.9525 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.577e-05/0.8552, allocations: 0 / 0.9525 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.8553, allocations: 7.438 kB / 0.9525 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8553, allocations: 1.281 kB / 0.9525 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of Templates: time 0.001737/0.857, allocations: 176 kB / 0.9527 GB, free: 5.367 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