Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.001493/0.001493, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001703/0.001703, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.509/1.509, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.885/2.885, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] 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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.597e-05/3.9e-05, allocations: 3.156 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002193/0.002232, allocations: 0.6653 MB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002041/0.002436, allocations: 15.88 kB / 0.8115 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.002476, allocations: 0 / 0.8115 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.002623, allocations: 7.922 kB / 0.8115 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.002669, allocations: 4.5 kB / 0.8115 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.002789, allocations: 5.281 kB / 0.8116 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.00293, allocations: 39.91 kB / 0.8116 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.003055, allocations: 19.97 kB / 0.8116 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.648e-05/0.003112, allocations: 25.86 kB / 0.8116 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.245e-05/0.003144, allocations: 8 kB / 0.8116 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.003168, allocations: 4 kB / 0.8116 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.003183, allocations: 4 kB / 0.8117 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.003223, allocations: 15.91 kB / 0.8117 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.003265, allocations: 9.594 kB / 0.8117 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.003385, allocations: 43.86 kB / 0.8117 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.003388, allocations: 0 / 0.8117 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003389, allocations: 0 / 0.8117 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.003394, allocations: 4 kB / 0.8117 GB, free: 1.176 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000469/0.003863, allocations: 274.8 kB / 0.812 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.00391, allocations: 13.16 kB / 0.812 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.003977, allocations: 16.83 kB / 0.812 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.004189, allocations: 117.7 kB / 0.8121 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.004206, allocations: 4.906 kB / 0.8121 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.004222, allocations: 8.375 kB / 0.8121 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.004405, allocations: 75.53 kB / 0.8122 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.004415, allocations: 192 / 0.8122 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.004425, allocations: 384 / 0.8122 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.004433, allocations: 5.531 kB / 0.8122 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.004537, allocations: 55.84 kB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.005095, allocations: 403 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.005249, allocations: 174.5 kB / 0.8128 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.005309, allocations: 84.12 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/0.00536, allocations: 83.27 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.586e-05/0.005446, allocations: 105.8 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.005447, allocations: 1.641 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.997e-05/0.005537, allocations: 29.64 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.351e-05/0.00563, allocations: 134.6 kB / 0.8132 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.005796, allocations: 125.8 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.005814, allocations: 27.05 kB / 0.8134 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.005904, allocations: 96.03 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.005907, allocations: 0 / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.005951, allocations: 22.23 kB / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.006139, allocations: 314.8 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.006161, allocations: 9.922 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.00618, allocations: 8 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.006221, allocations: 16.84 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006223, allocations: 0 / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001788/0.006402, allocations: 55.7 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.00642, allocations: 8 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006425, allocations: 320 / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.006444, allocations: 0 / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.006503, allocations: 0 / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.006512, allocations: 4.531 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.006537, allocations: 4.703 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.006553, allocations: 7.984 kB / 0.8139 GB, free: 14.77 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 (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 0.0001517/0.006705, allocations: 193.6 kB / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.006795, allocations: 110.5 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/0.00687, allocations: 108.4 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/0.006982, allocations: 184.3 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001047/0.007087, allocations: 180.2 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/0.007193, allocations: 177.2 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.007526, allocations: 372.8 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.621e-05/0.007603, allocations: 109 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.007665, allocations: 105.7 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.008141, allocations: 184.2 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.008247, allocations: 181.5 kB / 0.8157 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001109/0.008358, allocations: 180.3 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001146/0.008473, allocations: 188.2 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.008684, allocations: 312.5 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.008757, allocations: 109 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.008875, allocations: 181.7 kB / 0.8167 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.008991, allocations: 108.9 kB / 0.8168 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.009099, allocations: 176.3 kB / 0.8169 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/0.009164, allocations: 104.9 kB / 0.817 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001008/0.009265, allocations: 104.3 kB / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009265, allocations: 0 / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002545/0.00952, allocations: 11.94 kB / 0.8171 GB, free: 11.29 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 (0): * Single equations (assignments): 0 * 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.0001888/0.009709, allocations: 168.6 kB / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.00979, allocations: 12 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009792, allocations: 0 / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.009794, allocations: 2.312 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.01039, allocations: 465.3 kB / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.01078, allocations: 212.9 kB / 0.818 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.01089, allocations: 83.17 kB / 0.818 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.01091, allocations: 4 kB / 0.818 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.01095, allocations: 9 kB / 0.818 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.01095, allocations: 1.062 kB / 0.818 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of Templates: time 0.003015/0.01396, allocations: 330.6 kB / 0.8184 GB, free: 9.992 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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: 7.776317373965867]