Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001259/0.001259, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001396/0.001396, allocations: 165 kB / 23.02 MB, free: 1.551 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.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.24/2.24, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_latest_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.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.327e-06/3.327e-06, allocations: 0 / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.611e-05, allocations: 12.92 kB / 0.8782 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001372/0.001408, allocations: 0.6769 MB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001827/0.00159, allocations: 11.98 kB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.001637, allocations: 4 kB / 0.8789 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.001754, allocations: 5.672 kB / 0.8789 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.715e-05/0.001801, allocations: 4.891 kB / 0.8789 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.42e-05/0.001875, allocations: 4 kB / 0.8789 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.564e-05/0.001961, allocations: 27.64 kB / 0.879 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.002095, allocations: 20.48 kB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.002131, allocations: 20.81 kB / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.942e-05/0.00216, allocations: 8 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.002181, allocations: 9.031 kB / 0.879 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.002193, allocations: 4 kB / 0.879 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.002228, allocations: 11.98 kB / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.002261, allocations: 12.44 kB / 0.879 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.002369, allocations: 40.42 kB / 0.8791 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.002371, allocations: 0 / 0.8791 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002372, allocations: 1.125 kB / 0.8791 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.002377, allocations: 0 / 0.8791 GB, free: 5.391 MB / 0.8386 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.000309/0.002686, allocations: 372.5 kB / 0.8794 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.002724, allocations: 9.094 kB / 0.8794 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.002761, allocations: 16.89 kB / 0.8795 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.002895, allocations: 120.5 kB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.002905, allocations: 5.406 kB / 0.8796 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.002919, allocations: 4.375 kB / 0.8796 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.00303, allocations: 50.19 kB / 0.8796 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.003042, allocations: 1.312 kB / 0.8796 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.003052, allocations: 4.375 kB / 0.8796 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.003062, allocations: 4.375 kB / 0.8796 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.258e-05/0.003094, allocations: 20.89 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.003502, allocations: 0.537 MB / 0.8802 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.062e-05/0.003582, allocations: 262.5 kB / 0.8804 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.003617, allocations: 130.9 kB / 0.8806 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.003644, allocations: 119.2 kB / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.003688, allocations: 157.3 kB / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.00369, allocations: 0 / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.181e-05/0.003752, allocations: 37.73 kB / 0.8809 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.003806, allocations: 170.6 kB / 0.881 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.003909, allocations: 173.9 kB / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.003918, allocations: 25.7 kB / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.00398, allocations: 150.7 kB / 0.8814 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-06/0.003985, allocations: 4 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.00401, allocations: 15.38 kB / 0.8814 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.004123, allocations: 0.4922 MB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.004134, allocations: 0 / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-06/0.004141, allocations: 1.188 kB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.004174, allocations: 19.61 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004176, allocations: 1.562 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.837e-05/0.004274, allocations: 33.7 kB / 0.8819 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.004288, allocations: 4 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.004292, allocations: 1.5 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.004315, allocations: 0 / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.004372, allocations: 8 kB / 0.8819 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.004377, allocations: 0 / 0.8819 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.004394, allocations: 11.98 kB / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.004402, allocations: 1.094 kB / 0.8819 GB, free: 2.266 MB / 0.8386 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 8.64e-05/0.004489, allocations: 279.7 kB / 0.8822 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.004539, allocations: 154.2 kB / 0.8824 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.004588, allocations: 152.4 kB / 0.8825 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.599e-05/0.004644, allocations: 264.3 kB / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-05/0.004704, allocations: 284 kB / 0.883 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-05/0.004761, allocations: 272.2 kB / 0.8833 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.005092, allocations: 0.5037 MB / 0.8838 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/0.005125, allocations: 148.9 kB / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.005158, allocations: 144.9 kB / 0.8841 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.967e-05/0.005217, allocations: 272.1 kB / 0.8843 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/0.005286, allocations: 272.1 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.093e-05/0.005347, allocations: 268 kB / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.699e-05/0.005404, allocations: 268.1 kB / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.005531, allocations: 451.9 kB / 0.8855 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.005573, allocations: 152.9 kB / 0.8857 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.005637, allocations: 272 kB / 0.8859 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.005693, allocations: 148.9 kB / 0.8861 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.005758, allocations: 276 kB / 0.8863 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.005788, allocations: 144.9 kB / 0.8865 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.837e-05/0.005837, allocations: 131.2 kB / 0.8866 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005837, allocations: 0 / 0.8866 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001496/0.005986, allocations: 11.89 kB / 0.8866 GB, free: 13.29 MB / 0.8542 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.0001212/0.006107, allocations: 218.4 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.489e-05/0.006182, allocations: 7.688 kB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.006186, allocations: 8.062 kB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.006188, allocations: 3.938 kB / 0.8868 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.00654, allocations: 0.71 MB / 0.8875 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.00682, allocations: 249.4 kB / 0.8878 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.812e-05/0.006858, allocations: 63.34 kB / 0.8878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.006877, allocations: 0 / 0.8878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.006905, allocations: 8.5 kB / 0.8878 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of SimCode: time 7.02e-07/0.006905, allocations: 0 / 0.8878 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.002007/0.008912, allocations: 322.6 kB / 0.8881 GB, free: 11.65 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.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.717538189142942]