Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001559/0.001559, allocations: 93.06 kB / 19.65 MB, free: 272 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.001734/0.001734, allocations: 169 kB / 23.02 MB, free: 1.543 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.135/2.135, allocations: 429.5 MB / 0.6733 GB, free: 4.012 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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 0.8782 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.663e-05/3.957e-05, allocations: 4.844 kB / 0.8783 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002135/0.002175, allocations: 0.665 MB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000194/0.002369, allocations: 20.77 kB / 0.8789 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.002417, allocations: 0 / 0.8789 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.002538, allocations: 5.672 kB / 0.8789 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.002584, allocations: 0 / 0.8789 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.232e-05/0.002667, allocations: 8.906 kB / 0.8789 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.00277, allocations: 31.61 kB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.002931, allocations: 21.5 kB / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.92e-05/0.00298, allocations: 15.98 kB / 0.879 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.003018, allocations: 11.98 kB / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.003045, allocations: 3.938 kB / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.003058, allocations: 4.5 kB / 0.879 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.0031, allocations: 11.98 kB / 0.879 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.003142, allocations: 16.77 kB / 0.879 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.00326, allocations: 35.78 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.003263, allocations: 1.094 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.895e-06/0.003266, allocations: 4 kB / 0.8791 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.003272, allocations: 0 / 0.8791 GB, free: 5.371 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.0003921/0.003664, allocations: 373 kB / 0.8794 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.003712, allocations: 12.69 kB / 0.8795 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.003767, allocations: 12.89 kB / 0.8795 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.003927, allocations: 121.7 kB / 0.8796 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.003939, allocations: 8.375 kB / 0.8796 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.003949, allocations: 384 / 0.8796 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.004055, allocations: 47.31 kB / 0.8796 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.004062, allocations: 192 / 0.8796 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.004073, allocations: 12.31 kB / 0.8796 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.00408, allocations: 1.406 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.338e-05/0.004113, allocations: 27.8 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.004506, allocations: 0.5253 MB / 0.8802 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.144e-05/0.004587, allocations: 270.6 kB / 0.8804 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.004618, allocations: 126.9 kB / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.004641, allocations: 120.2 kB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.004679, allocations: 152.6 kB / 0.8808 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.004681, allocations: 4 kB / 0.8808 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.557e-05/0.004736, allocations: 31.48 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.004793, allocations: 174.6 kB / 0.881 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.004895, allocations: 177.9 kB / 0.8812 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.004903, allocations: 26.42 kB / 0.8812 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.004966, allocations: 146.7 kB / 0.8814 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-06/0.004969, allocations: 7.328 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.004999, allocations: 23.36 kB / 0.8814 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.005122, allocations: 0.4883 MB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.005136, allocations: 0 / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-06/0.005146, allocations: 4 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.00518, allocations: 7.688 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.005183, allocations: 4 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.923e-05/0.005282, allocations: 42.81 kB / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.005297, allocations: 4 kB / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.005303, allocations: 0 / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.005317, allocations: 1.562 kB / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.005377, allocations: 4 kB / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005382, allocations: 0 / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.005397, allocations: 8 kB / 0.8819 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.005407, allocations: 1.094 kB / 0.8819 GB, free: 2.246 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.738e-05/0.005495, allocations: 279.7 kB / 0.8822 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.005622, allocations: 156.8 kB / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.005672, allocations: 153.8 kB / 0.8825 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.369e-05/0.005735, allocations: 264.3 kB / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.576e-05/0.005801, allocations: 284 kB / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.945e-05/0.005861, allocations: 264.1 kB / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.006033, allocations: 0.5155 MB / 0.8838 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-05/0.006061, allocations: 144.9 kB / 0.8839 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.006109, allocations: 144.9 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.153e-05/0.006161, allocations: 272 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.006213, allocations: 264.1 kB / 0.8846 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.529e-05/0.006269, allocations: 276 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-05/0.006322, allocations: 272.1 kB / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.006433, allocations: 443.9 kB / 0.8855 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.006469, allocations: 152.9 kB / 0.8857 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.006529, allocations: 272 kB / 0.8859 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.006584, allocations: 156.9 kB / 0.8861 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.006641, allocations: 264.1 kB / 0.8863 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.006676, allocations: 148.8 kB / 0.8865 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.006724, allocations: 135.2 kB / 0.8866 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006724, allocations: 0 / 0.8866 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001384/0.006863, allocations: 15.89 kB / 0.8866 GB, free: 13.27 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.0001288/0.006992, allocations: 210.4 kB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.112e-05/0.007073, allocations: 15.67 kB / 0.8868 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007075, allocations: 0 / 0.8868 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.007077, allocations: 8 kB / 0.8868 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.00742, allocations: 0.71 MB / 0.8875 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.00772, allocations: 249.4 kB / 0.8878 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.007761, allocations: 59.34 kB / 0.8878 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.06e-05/0.007781, allocations: 3.984 kB / 0.8878 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.007807, allocations: 12.5 kB / 0.8878 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/0.007808, allocations: 0 / 0.8878 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.002229/0.01004, allocations: 323.5 kB / 0.8881 GB, free: 11.62 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.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.3006847822107375]