Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 106.8 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.635/1.635, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.443/3.443, allocations: 0.4899 GB / 0.7915 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 71.36 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4345, allocations: 176.1 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002427/0.437, allocations: 0.6693 MB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4384, allocations: 0.8553 MB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.4385, allocations: 0 / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.4385, allocations: 3.938 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.4386, allocations: 0 / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.4388, allocations: 19.92 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.899e-05/0.4389, allocations: 19.94 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.439, allocations: 11.92 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.4391, allocations: 12 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.4391, allocations: 11.92 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.4392, allocations: 4 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.191e-05/0.4392, allocations: 7.984 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.4392, allocations: 4 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.4392, allocations: 7.938 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.4394, allocations: 27.89 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4394, allocations: 0 / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4394, allocations: 0 / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.4394, allocations: 0 / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005531/0.4399, allocations: 343.4 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.44, allocations: 11.98 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.4401, allocations: 8.938 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.4403, allocations: 172.3 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.4403, allocations: 384 / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.4403, allocations: 384 / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.4405, allocations: 54.17 kB / 1.323 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4405, allocations: 192 / 1.323 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4405, allocations: 7.938 kB / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4405, allocations: 4 kB / 1.323 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.4407, allocations: 31.95 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.4411, allocations: 240.9 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.4413, allocations: 42.53 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4414, allocations: 24.84 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.4414, allocations: 4 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.4415, allocations: 34.56 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4415, allocations: 3.938 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003956/0.4419, allocations: 77.64 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.4419, allocations: 55.53 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.442, allocations: 101.8 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.442, allocations: 25.7 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.4421, allocations: 84.12 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.4421, allocations: 15.89 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.4422, allocations: 9.719 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4423, allocations: 314.8 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.881e-05/0.4424, allocations: 27.91 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.4425, allocations: 11.98 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.4427, allocations: 40.83 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4427, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.4429, allocations: 73.66 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4429, allocations: 4 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4429, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4429, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.443, allocations: 11.98 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.443, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.4431, allocations: 7.938 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4431, allocations: 7.922 kB / 1.325 GB, free: 15.07 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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 0.0001015/0.4432, allocations: 109.8 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.4432, allocations: 11.95 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.4435, allocations: 68.78 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4435, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4435, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4435, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.4437, allocations: 165.6 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4437, allocations: 0 / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.4438, allocations: 4.031 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4438, allocations: 4 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.4438, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4438, allocations: 4 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.4438, allocations: 7.984 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.4441, allocations: 163.4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.4441, allocations: 85.31 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.4441, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.4442, allocations: 7.984 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.4443, allocations: 3.984 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.4443, allocations: 0 / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.199e-05/0.4443, allocations: 83.28 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4443, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000223/0.4446, allocations: 7.938 kB / 1.325 GB, free: 14.26 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.0001657/0.4447, allocations: 103.2 kB / 1.325 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.445, allocations: 39.89 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.445, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.4451, allocations: 19.98 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4454, allocations: 3.938 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.4458, allocations: 105.7 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.4461, allocations: 0.6806 MB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.4461, allocations: 4 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.4462, allocations: 7.438 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4462, allocations: 0 / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of Templates: time 0.003248/0.4494, allocations: 441 kB / 1.327 GB, free: 12.81 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.741017230786383]