Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001009/0.001009, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001095/0.001095, allocations: 165.4 kB / 24.87 MB, free: 9.27 MB / 18.57 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.92/1.92, allocations: 377.9 MB / 0.6247 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.568e-05, allocations: 7.375 kB / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001331/0.001357, allocations: 0.7144 MB / 0.8135 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007889/0.002146, allocations: 0.8483 MB / 0.8144 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.002181, allocations: 0 / 0.8144 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.002213, allocations: 7.922 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/0.002279, allocations: 5.75 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 8.88e-05/0.002368, allocations: 11.98 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.198e-05/0.00244, allocations: 47.8 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.002525, allocations: 11.97 kB / 0.8145 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.002598, allocations: 25.33 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.002637, allocations: 15.92 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.002655, allocations: 4 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.002664, allocations: 4 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.002681, allocations: 9.578 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.647e-05/0.002698, allocations: 8 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.465e-05/0.002773, allocations: 35.83 kB / 0.8146 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.002775, allocations: 0 / 0.8146 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.41e-07/0.002776, allocations: 0.7188 kB / 0.8146 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.002779, allocations: 0 / 0.8146 GB, free: 15.67 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003289/0.003108, allocations: 381.1 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.003142, allocations: 9.688 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.00318, allocations: 8.891 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.198e-05/0.003262, allocations: 116.5 kB / 0.815 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.003273, allocations: 384 / 0.815 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.003281, allocations: 8.969 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.003412, allocations: 68.19 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003419, allocations: 192 / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.003426, allocations: 384 / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.00343, allocations: 384 / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.003453, allocations: 13.09 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.003674, allocations: 240.5 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.558e-05/0.00373, allocations: 44.34 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.003746, allocations: 11.69 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.003759, allocations: 3.938 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.003776, allocations: 33.39 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.003777, allocations: 1.625 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001259/0.003903, allocations: 49.72 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.003928, allocations: 51.41 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.00399, allocations: 173.8 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.003998, allocations: 27.33 kB / 0.8157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.004037, allocations: 130.8 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.004098, allocations: 19.92 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.004122, allocations: 15.38 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.004226, allocations: 497 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.004239, allocations: 0 / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.004251, allocations: 7.984 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.004278, allocations: 17.84 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00428, allocations: 0 / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.867e-05/0.004339, allocations: 45.64 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.00435, allocations: 4 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.004354, allocations: 3.938 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.004364, allocations: 6.125 kB / 0.8165 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.004428, allocations: 8 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.00443, allocations: 0 / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.004453, allocations: 7.984 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.00446, allocations: 4 kB / 0.8165 GB, free: 13.51 MB / 0.7761 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 (3): * Single equations (assignments): 3 * 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 5.635e-05/0.004516, allocations: 161.1 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.004532, allocations: 4.531 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.249e-05/0.004605, allocations: 49.67 kB / 0.8167 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.004607, allocations: 5.875 kB / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.004608, allocations: 0 / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.004611, allocations: 0 / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.744e-05/0.004698, allocations: 105.2 kB / 0.8168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.004699, allocations: 0 / 0.8168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.004734, allocations: 14.19 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.004735, allocations: 0 / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.004739, allocations: 0 / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.004741, allocations: 3.984 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004742, allocations: 0 / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.983e-05/0.004831, allocations: 208.1 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-06/0.004836, allocations: 1.094 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-06/0.004844, allocations: 48 / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.004881, allocations: 7.984 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.004911, allocations: 16.52 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.004913, allocations: 0.9375 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.004947, allocations: 131.5 kB / 0.8172 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004947, allocations: 0 / 0.8172 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001417/0.005088, allocations: 8.844 kB / 0.8172 GB, free: 12.75 MB / 0.7761 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 (3): * Single equations (assignments): 3 * 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 8.39e-05/0.005172, allocations: 98.59 kB / 0.8173 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.005239, allocations: 19.69 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.00524, allocations: 0 / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.00526, allocations: 19.67 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.005442, allocations: 4.234 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.005652, allocations: 132.5 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.973e-05/0.005682, allocations: 59.3 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.005699, allocations: 3.938 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.005753, allocations: 78.19 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.005753, allocations: 0 / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.002386/0.008139, allocations: 0.8056 MB / 0.8183 GB, free: 11.5 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.223911846987903]