Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 496.1 MB / 0.7819 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.91 kB / 1.136 GB, free: 12.38 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332/1.334, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0031/1.337, allocations: 0.6683 MB / 1.306 GB, free: 33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001815/1.339, allocations: 0.8021 MB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/1.339, allocations: 0 / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.023e-05/1.339, allocations: 3.938 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/1.339, allocations: 8 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/1.34, allocations: 10.31 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/1.34, allocations: 24.2 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/1.34, allocations: 10.34 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.887e-05/1.34, allocations: 10.47 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/1.34, allocations: 10.14 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/1.34, allocations: 2.719 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/1.34, allocations: 3.031 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/1.34, allocations: 4 kB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/1.34, allocations: 10.38 kB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/1.34, allocations: 33.38 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.34, allocations: 0 / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.805e-06/1.34, allocations: 0 / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.34, allocations: 0 / 1.307 GB, free: 32.32 MB / 1.061 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.0006651/1.341, allocations: 338.1 kB / 1.307 GB, free: 31.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/1.341, allocations: 8.969 kB / 1.307 GB, free: 31.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/1.341, allocations: 11.98 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/1.341, allocations: 160.4 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.341, allocations: 384 / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/1.341, allocations: 7.406 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/1.342, allocations: 56.03 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/1.342, allocations: 7.938 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.342, allocations: 0 / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.342, allocations: 0 / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/1.342, allocations: 35.55 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/1.342, allocations: 245.9 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/1.342, allocations: 39.06 kB / 1.308 GB, free: 31.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.175e-05/1.342, allocations: 19.52 kB / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/1.342, allocations: 2.938 kB / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.343, allocations: 34.56 kB / 1.308 GB, free: 31.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/1.343, allocations: 7.938 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003952/1.343, allocations: 81.64 kB / 1.308 GB, free: 31.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/1.343, allocations: 51.41 kB / 1.308 GB, free: 31.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/1.343, allocations: 103 kB / 1.308 GB, free: 31.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/1.343, allocations: 25.7 kB / 1.308 GB, free: 31.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/1.343, allocations: 84.08 kB / 1.308 GB, free: 31.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/1.343, allocations: 12.08 kB / 1.308 GB, free: 31.01 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/1.343, allocations: 12.56 kB / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/1.343, allocations: 316.7 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/1.343, allocations: 16.03 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/1.343, allocations: 15.83 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/1.343, allocations: 46.61 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.343, allocations: 3.938 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000166/1.344, allocations: 70.25 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.344, allocations: 2.844 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.344, allocations: 2.844 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/1.344, allocations: 3.938 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/1.344, allocations: 8.969 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/1.344, allocations: 0 / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/1.344, allocations: 10.09 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/1.344, allocations: 2.906 kB / 1.309 GB, free: 30.61 MB / 1.061 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 7.726e-05/1.344, allocations: 109.8 kB / 1.309 GB, free: 30.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/1.344, allocations: 2.969 kB / 1.309 GB, free: 30.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/1.344, allocations: 74.73 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.344, allocations: 0 / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.344, allocations: 6.719 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.344, allocations: 0 / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/1.344, allocations: 159.3 kB / 1.309 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.344, allocations: 0 / 1.309 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/1.344, allocations: 12.39 kB / 1.309 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/1.344, allocations: 0 / 1.309 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/1.344, allocations: 0 / 1.309 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.344, allocations: 0 / 1.309 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.344, allocations: 0 / 1.309 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/1.345, allocations: 170.8 kB / 1.309 GB, free: 30.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/1.345, allocations: 81.06 kB / 1.309 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/1.345, allocations: 3.938 kB / 1.309 GB, free: 29.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/1.345, allocations: 13.45 kB / 1.309 GB, free: 29.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/1.345, allocations: 0 / 1.309 GB, free: 29.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/1.345, allocations: 0 / 1.309 GB, free: 29.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.12e-05/1.345, allocations: 93.05 kB / 1.309 GB, free: 29.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.345, allocations: 0 / 1.309 GB, free: 29.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002052/1.345, allocations: 3.219 kB / 1.31 GB, free: 29.91 MB / 1.061 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.0001897/1.345, allocations: 96.66 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002358/1.345, allocations: 33.52 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.345, allocations: 0 / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/1.346, allocations: 29.53 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/1.346, allocations: 6.828 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/1.346, allocations: 122.8 kB / 1.31 GB, free: 29.69 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/1.347, allocations: 0.675 MB / 1.31 GB, free: 28.99 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.985e-05/1.347, allocations: 3.422 kB / 1.31 GB, free: 28.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/1.347, allocations: 14.45 kB / 1.31 GB, free: 28.98 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/1.347, allocations: 64 / 1.31 GB, free: 28.98 MB / 1.061 GB Notification: Performance of Templates: time 0.003431/1.35, allocations: 441.4 kB / 1.311 GB, free: 28.91 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 10.141104824841022]