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.001445/0.001445, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001534/0.001534, allocations: 173 kB / 23.49 MB, free: 1.059 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.02/1.02, allocations: 177.1 MB / 203.8 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.237/2.237, allocations: 429.5 MB / 0.6736 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 3.947e-06/3.947e-06, allocations: 0 / 0.8782 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.647e-05/4.042e-05, allocations: 6.312 kB / 0.8783 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00209/0.00213, allocations: 0.6707 MB / 0.8789 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000175/0.002305, allocations: 15.94 kB / 0.8789 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.002353, allocations: 3.938 kB / 0.8789 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.002464, allocations: 4.641 kB / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.002504, allocations: 2.219 kB / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.811e-05/0.002583, allocations: 11.98 kB / 0.8789 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.351e-05/0.002676, allocations: 24.14 kB / 0.879 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.002822, allocations: 22.98 kB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.002864, allocations: 20.8 kB / 0.879 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.3e-05/0.002897, allocations: 15.97 kB / 0.879 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.002918, allocations: 7.938 kB / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.002928, allocations: 0 / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.00296, allocations: 11.94 kB / 0.879 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.002988, allocations: 8 kB / 0.8791 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.003092, allocations: 31.89 kB / 0.8791 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.003099, allocations: 4.719 kB / 0.8791 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.994e-06/0.003101, allocations: 0 / 0.8791 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.003107, allocations: 1.656 kB / 0.8791 GB, free: 5.758 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.0003578/0.003465, allocations: 376.5 kB / 0.8794 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.003505, allocations: 8.031 kB / 0.8795 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.003552, allocations: 12.89 kB / 0.8795 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.003692, allocations: 124.5 kB / 0.8796 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.003703, allocations: 8.875 kB / 0.8796 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.003713, allocations: 5.812 kB / 0.8796 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.003824, allocations: 54.25 kB / 0.8797 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.00383, allocations: 192 / 0.8797 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.003841, allocations: 4.359 kB / 0.8797 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.003849, allocations: 1.062 kB / 0.8797 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.003881, allocations: 15.94 kB / 0.8797 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.004314, allocations: 0.5344 MB / 0.8802 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.00442, allocations: 269.4 kB / 0.8805 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.004464, allocations: 126.9 kB / 0.8806 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.004496, allocations: 120.8 kB / 0.8807 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.004555, allocations: 160.5 kB / 0.8808 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.843e-06/0.004556, allocations: 0 / 0.8808 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.728e-05/0.004644, allocations: 26.45 kB / 0.8809 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.004717, allocations: 174.6 kB / 0.881 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.004858, allocations: 177.9 kB / 0.8812 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.004871, allocations: 25.81 kB / 0.8812 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.004956, allocations: 154.6 kB / 0.8814 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.004959, allocations: 0 / 0.8814 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.004995, allocations: 23.38 kB / 0.8814 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.005127, allocations: 496.1 kB / 0.8819 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.005144, allocations: 3.984 kB / 0.8819 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.005155, allocations: 4 kB / 0.8819 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.048e-05/0.005196, allocations: 11.62 kB / 0.8819 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.005198, allocations: 4.062 kB / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001106/0.005309, allocations: 41.69 kB / 0.8819 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.005324, allocations: 4 kB / 0.8819 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.00533, allocations: 4 kB / 0.8819 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.005346, allocations: 4 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.005419, allocations: 0 / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.005426, allocations: 3.984 kB / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.005444, allocations: 4 kB / 0.882 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.005455, allocations: 4 kB / 0.882 GB, free: 2.613 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 0.0001442/0.005599, allocations: 275.7 kB / 0.8822 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.005654, allocations: 160.8 kB / 0.8824 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.005708, allocations: 148.4 kB / 0.8825 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.606e-05/0.005774, allocations: 276.1 kB / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001501/0.005924, allocations: 272.1 kB / 0.883 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-05/0.005992, allocations: 264.1 kB / 0.8833 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.006188, allocations: 0.5076 MB / 0.8838 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/0.006221, allocations: 144.9 kB / 0.8839 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.006255, allocations: 152.8 kB / 0.8841 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.293e-05/0.006318, allocations: 272.1 kB / 0.8843 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/0.006396, allocations: 264.1 kB / 0.8846 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002166/0.006613, allocations: 272 kB / 0.8848 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.743e-05/0.00667, allocations: 272.1 kB / 0.8851 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.006837, allocations: 447.9 kB / 0.8855 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.006885, allocations: 156.8 kB / 0.8857 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.006955, allocations: 264.1 kB / 0.8859 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.007023, allocations: 152.9 kB / 0.8861 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.007089, allocations: 268 kB / 0.8863 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.007125, allocations: 144.9 kB / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.383e-05/0.007189, allocations: 143.1 kB / 0.8866 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007189, allocations: 0 / 0.8866 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00016/0.007349, allocations: 11.89 kB / 0.8866 GB, free: 13.64 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.000189/0.007538, allocations: 214.4 kB / 0.8868 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.007638, allocations: 15.62 kB / 0.8868 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.007641, allocations: 0 / 0.8868 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.007642, allocations: 0 / 0.8868 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.008048, allocations: 0.7131 MB / 0.8875 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.008373, allocations: 253.4 kB / 0.8878 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.847e-05/0.008411, allocations: 59.34 kB / 0.8878 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.008431, allocations: 0 / 0.8878 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.008469, allocations: 16.56 kB / 0.8878 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of SimCode: time 2.284e-06/0.008472, allocations: 0 / 0.8878 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of Templates: time 0.002215/0.01069, allocations: 328.6 kB / 0.8882 GB, free: 12 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.763072919100523]