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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001062/0.001062, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.008522/0.008522, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003688, allocations: 8 kB / 0.8729 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7444/0.7448, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.0008541/0.7457, allocations: 313.1 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 4.729e-05/0.7458, allocations: 4 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.7458, allocations: 4 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.7458, allocations: 3.938 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.283e-05/0.7459, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.837e-05/0.7459, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.746, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.688e-05/0.746, allocations: 7.984 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.7461, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.552e-05/0.7461, allocations: 4 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.7461, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-06/0.7461, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.7462, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.7462, allocations: 33.64 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.974e-05/0.7463, allocations: 3.984 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.7463, allocations: 4 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.075e-06/0.7463, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.7463, allocations: 0 / 1.023 GB, free: 15.52 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.0003113/0.7466, allocations: 305.1 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.7467, allocations: 12.08 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.7467, allocations: 4.938 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.7469, allocations: 160.4 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.7469, allocations: 12.31 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.7469, allocations: 384 / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.747, allocations: 26.27 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.747, allocations: 4.125 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.7471, allocations: 11.94 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.7471, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.7471, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.7473, allocations: 145.7 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.271e-05/0.7474, allocations: 26.55 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.7474, allocations: 8.859 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.7474, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.7475, allocations: 34.62 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.7475, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.7476, allocations: 33.64 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.7477, allocations: 51.41 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.883e-05/0.7477, allocations: 93.98 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.7477, allocations: 25.7 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.7478, allocations: 80.14 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.7478, allocations: 7.891 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.7478, allocations: 17.72 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.748, allocations: 310.8 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.748, allocations: 3.938 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.748, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.748, allocations: 12.92 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.748, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.755e-05/0.7481, allocations: 29.7 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.7481, allocations: 8 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7481, allocations: 3.984 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7481, allocations: 3.938 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.7482, allocations: 3.984 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7482, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.7482, allocations: 4 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.7482, allocations: 11.97 kB / 1.025 GB, free: 13.87 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.877e-05/0.7483, allocations: 109.8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.7483, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.7484, allocations: 7.062 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7484, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7484, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.7484, allocations: 3.984 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.7485, allocations: 153.6 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7485, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.7485, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7485, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.7485, allocations: 3.938 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.7486, allocations: 4 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7486, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.99e-05/0.7486, allocations: 53.14 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.7487, allocations: 81.09 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.7487, allocations: 3.938 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-06/0.7487, allocations: 8.031 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.7487, allocations: 3.938 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.7488, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.881e-05/0.7488, allocations: 75.28 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7488, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001717/0.749, allocations: 0 / 1.025 GB, free: 13.27 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 (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.0001592/0.7491, allocations: 103.2 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.275e-05/0.7492, allocations: 8 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7492, allocations: 4.062 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.7492, allocations: 0 / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.7494, allocations: 12.2 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.7496, allocations: 80.72 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.7499, allocations: 0.6769 MB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.328e-05/0.7499, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.75, allocations: 7.438 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of SimCode: time 2.554e-06/0.75, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.00199/0.752, allocations: 174.9 kB / 1.026 GB, free: 12.15 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