Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007984/0.0007985, allocations: 84.38 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.0008864/0.0008865, 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.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.826/2.826, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 8 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.8343, allocations: 153.8 MB / 1.022 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.0008286/0.8352, allocations: 317 kB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 4.333e-05/0.8352, allocations: 4 kB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.8353, allocations: 4 kB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.8353, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.331e-05/0.8353, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.604e-05/0.8354, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.977e-05/0.8354, allocations: 4 kB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.8355, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.673e-05/0.8355, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.011e-05/0.8355, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.8355, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-06/0.8356, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.8356, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.8356, allocations: 33.64 kB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.582e-05/0.8356, allocations: 7.984 kB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.8357, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8357, allocations: 3.938 kB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.8357, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.7794 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.0002453/0.8359, allocations: 307.4 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.836, allocations: 12.09 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.836, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.254e-05/0.8361, allocations: 159.1 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.8361, allocations: 4 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.8361, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.8362, allocations: 33.64 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.8363, allocations: 4 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.8363, allocations: 0 / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.8363, allocations: 0 / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.067e-05/0.8363, allocations: 3.984 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.8364, allocations: 149.6 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.246e-05/0.8365, allocations: 22.61 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.8365, allocations: 4.859 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.8365, allocations: 64 / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.8366, allocations: 42.5 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.8366, allocations: 3.938 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.8367, allocations: 37.64 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.8368, allocations: 51.41 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.516e-05/0.8368, allocations: 93.98 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.8368, allocations: 25.7 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.333e-05/0.8368, allocations: 80.14 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.8369, allocations: 3.906 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-06/0.8369, allocations: 4 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.837, allocations: 310.8 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-06/0.837, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.837, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/0.837, allocations: 8.062 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8371, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.648e-05/0.8371, allocations: 37.69 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.8371, allocations: 4 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8371, allocations: 3.938 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.8372, allocations: 3.953 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.8372, allocations: 4 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.8372, allocations: 3.938 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.038e-05/0.8373, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.8373, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 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 7.973e-05/0.8374, allocations: 117.9 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-06/0.8374, allocations: 0 / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.8374, allocations: 7.109 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.8374, allocations: 3.953 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.8374, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.8374, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.916e-05/0.8375, allocations: 145.7 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8375, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.8375, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.8375, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.8375, allocations: 8 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8375, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8376, allocations: 3.953 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.638e-05/0.8376, allocations: 61.06 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.8377, allocations: 77.11 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.8377, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.8377, allocations: 4 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.8377, allocations: 4.031 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.8377, allocations: 3.953 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.881e-05/0.8378, allocations: 79.28 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8378, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001982/0.838, allocations: 3.938 kB / 1.025 GB, free: 13.67 MB / 0.7794 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.0001311/0.8381, allocations: 105.5 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.915e-05/0.8382, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8382, allocations: 64 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-06/0.8382, allocations: 8 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.8383, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.8386, allocations: 92.59 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.8388, allocations: 0.6808 MB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.8388, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.8389, allocations: 7.438 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.8389, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.002012/0.8409, allocations: 156.4 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches