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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008476/0.0008525, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001036/0.001036, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 8 kB / 0.8154 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.83/0.8305, allocations: 142.4 MB / 0.9545 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.0007214/0.8312, allocations: 308.1 kB / 0.9548 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.36e-05/0.8313, allocations: 0 / 0.9548 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.8313, allocations: 1.219 kB / 0.9548 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.8314, allocations: 0 / 0.9548 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.439e-05/0.8314, allocations: 0 / 0.9548 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.672e-05/0.8314, allocations: 5.094 kB / 0.9548 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.8315, allocations: 5.25 kB / 0.9548 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.409e-05/0.8316, allocations: 0 / 0.9548 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.8316, allocations: 1.219 kB / 0.9548 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.094e-05/0.8316, allocations: 3.938 kB / 0.9548 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.8316, allocations: 0 / 0.9548 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-06/0.8316, allocations: 1.125 kB / 0.9548 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.8316, allocations: 3.984 kB / 0.9548 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.8317, allocations: 25.7 kB / 0.9548 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.911e-05/0.8317, allocations: 5.172 kB / 0.9548 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.8317, allocations: 0 / 0.9548 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.514e-06/0.8317, allocations: 5.125 kB / 0.9548 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.8317, allocations: 0 / 0.9548 GB, free: 7.484 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.0002065/0.832, allocations: 308.4 kB / 0.9551 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.832, allocations: 9.031 kB / 0.9551 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.8321, allocations: 4.984 kB / 0.9551 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.191e-05/0.8321, allocations: 159.1 kB / 0.9553 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.8321, allocations: 1.281 kB / 0.9553 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.8321, allocations: 3.984 kB / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.283e-05/0.8322, allocations: 31.83 kB / 0.9553 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.8322, allocations: 4 kB / 0.9553 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.8323, allocations: 0 / 0.9553 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8323, allocations: 1.094 kB / 0.9553 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.8323, allocations: 9.359 kB / 0.9553 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.8324, allocations: 142.9 kB / 0.9555 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.209e-05/0.8324, allocations: 15.77 kB / 0.9555 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.8325, allocations: 11.17 kB / 0.9555 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.8325, allocations: 9.062 kB / 0.9555 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.8325, allocations: 35.67 kB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.8325, allocations: 0 / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001102/0.8326, allocations: 33.95 kB / 0.9556 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.8327, allocations: 52.41 kB / 0.9556 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.693e-05/0.8327, allocations: 93.8 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.8327, allocations: 25.7 kB / 0.9557 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.197e-05/0.8327, allocations: 85.39 kB / 0.9558 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.8327, allocations: 7.906 kB / 0.9558 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-06/0.8328, allocations: 0 / 0.9558 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.8328, allocations: 315.9 kB / 0.9561 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-06/0.8328, allocations: 1.125 kB / 0.9561 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.8328, allocations: 1.031 kB / 0.9561 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.876e-05/0.8328, allocations: 1.25 kB / 0.9561 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8329, allocations: 3.984 kB / 0.9561 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.967e-05/0.8329, allocations: 35.05 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.8329, allocations: 9.594 kB / 0.9562 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.8329, allocations: 0 / 0.9562 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.833, allocations: 0 / 0.9562 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.833, allocations: 2.344 kB / 0.9562 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.833, allocations: 0 / 0.9562 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.204e-05/0.8331, allocations: 1.062 kB / 0.9562 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.8331, allocations: 0 / 0.9562 GB, free: 5.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/0.8331, allocations: 114.9 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.8331, allocations: 5.234 kB / 0.9563 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.8331, allocations: 11.11 kB / 0.9563 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.8332, allocations: 1.312 kB / 0.9563 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8332, allocations: 0 / 0.9563 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8332, allocations: 0 / 0.9563 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.643e-05/0.8332, allocations: 146.4 kB / 0.9564 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8332, allocations: 1.281 kB / 0.9564 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.8333, allocations: 1.25 kB / 0.9564 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.8333, allocations: 0 / 0.9564 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.8333, allocations: 1.031 kB / 0.9564 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8333, allocations: 7.969 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8333, allocations: 1.094 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.38e-05/0.8333, allocations: 70.69 kB / 0.9565 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.8334, allocations: 77.11 kB / 0.9566 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.8334, allocations: 5.188 kB / 0.9566 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-06/0.8334, allocations: 0 / 0.9566 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.8334, allocations: 1.062 kB / 0.9566 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.8334, allocations: 3.984 kB / 0.9566 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.451e-05/0.8334, allocations: 80.47 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8334, allocations: 0 / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002112/0.8337, allocations: 1.031 kB / 0.9567 GB, free: 5.332 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001113/0.8338, allocations: 101.9 kB / 0.9568 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.913e-05/0.8338, allocations: 7.312 kB / 0.9568 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8339, allocations: 3.938 kB / 0.9568 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.8339, allocations: 6.531 kB / 0.9568 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.834, allocations: 7.109 kB / 0.9568 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.8342, allocations: 86.83 kB / 0.9569 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.8343, allocations: 0.6742 MB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.22e-05/0.8343, allocations: 0 / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.8344, allocations: 8.562 kB / 0.9576 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of SimCode: time 7.91e-07/0.8344, allocations: 0 / 0.9576 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of Templates: time 0.001838/0.8362, allocations: 164.5 kB / 0.9577 GB, free: 4.32 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