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.001026/0.001026, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009554/0.0009554, 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 0.9356/0.9356, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.077/2.077, allocations: 429.5 MB / 0.6736 GB, free: 4.027 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 2.665e-06/2.665e-06, allocations: 0 / 0.8783 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.973e-05, allocations: 6.312 kB / 0.8783 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.004595/0.004624, allocations: 0.6715 MB / 0.8789 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.004787, allocations: 15.98 kB / 0.8789 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.004831, allocations: 1.344 kB / 0.8789 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.004935, allocations: 4.812 kB / 0.8789 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.691e-05/0.004971, allocations: 0 / 0.8789 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.569e-05/0.005037, allocations: 5.312 kB / 0.8789 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.076e-05/0.005128, allocations: 29.77 kB / 0.879 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.005261, allocations: 24.64 kB / 0.879 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.005301, allocations: 19.98 kB / 0.879 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.354e-05/0.005335, allocations: 16.58 kB / 0.879 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.005359, allocations: 5.594 kB / 0.879 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.005369, allocations: 0 / 0.879 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.005401, allocations: 7.984 kB / 0.879 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.005432, allocations: 15.92 kB / 0.8791 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.005533, allocations: 35.78 kB / 0.8791 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005536, allocations: 9.688 kB / 0.8791 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005537, allocations: 0 / 0.8791 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.005541, allocations: 0 / 0.8791 GB, free: 5.738 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.0003196/0.00586, allocations: 376.5 kB / 0.8795 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.005898, allocations: 10.91 kB / 0.8795 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.00594, allocations: 8.891 kB / 0.8795 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.006084, allocations: 124.5 kB / 0.8796 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.006095, allocations: 4.375 kB / 0.8796 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.006107, allocations: 4.375 kB / 0.8796 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.006223, allocations: 62.06 kB / 0.8797 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.00623, allocations: 192 / 0.8797 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.006239, allocations: 384 / 0.8797 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.006247, allocations: 1.094 kB / 0.8797 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.006287, allocations: 23.92 kB / 0.8797 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.006715, allocations: 0.5269 MB / 0.8802 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.976e-05/0.006815, allocations: 265.4 kB / 0.8805 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.006854, allocations: 126.9 kB / 0.8806 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.006892, allocations: 123.2 kB / 0.8807 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.006944, allocations: 161.9 kB / 0.8809 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.502e-06/0.006946, allocations: 0 / 0.8809 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.277e-05/0.007009, allocations: 26.45 kB / 0.8809 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.007067, allocations: 174.6 kB / 0.881 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.007184, allocations: 181.9 kB / 0.8812 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.007193, allocations: 25.7 kB / 0.8812 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.007263, allocations: 146.7 kB / 0.8814 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.007265, allocations: 0 / 0.8814 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.0073, allocations: 23.36 kB / 0.8814 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.003152/0.01045, allocations: 0.4883 MB / 0.8819 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.01047, allocations: 0 / 0.8819 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-06/0.01048, allocations: 4 kB / 0.8819 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.01052, allocations: 11.62 kB / 0.8819 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01052, allocations: 4.172 kB / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001115/0.01064, allocations: 45.62 kB / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01065, allocations: 6.031 kB / 0.8819 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01066, allocations: 0 / 0.8819 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01067, allocations: 4 kB / 0.882 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.01073, allocations: 0 / 0.882 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01073, allocations: 0 / 0.882 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.01075, allocations: 4 kB / 0.882 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.01076, allocations: 4 kB / 0.882 GB, free: 2.605 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 9.921e-05/0.01086, allocations: 275.7 kB / 0.8822 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.01092, allocations: 168.8 kB / 0.8824 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.01097, allocations: 148.4 kB / 0.8825 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.796e-05/0.01104, allocations: 268.1 kB / 0.8828 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.734e-05/0.01111, allocations: 272.1 kB / 0.883 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/0.01117, allocations: 264.1 kB / 0.8833 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.01139, allocations: 0.5154 MB / 0.8838 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.792e-05/0.01143, allocations: 144.9 kB / 0.8839 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.01147, allocations: 148.8 kB / 0.8841 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.537e-05/0.01154, allocations: 268.1 kB / 0.8843 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.789e-05/0.01161, allocations: 264.1 kB / 0.8846 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.817e-05/0.01168, allocations: 276 kB / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.565e-05/0.01175, allocations: 272.1 kB / 0.8851 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.01189, allocations: 447.9 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.01193, allocations: 156.9 kB / 0.8857 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.01201, allocations: 268 kB / 0.8859 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.01208, allocations: 148.9 kB / 0.8861 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.01215, allocations: 272 kB / 0.8863 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.01218, allocations: 144.9 kB / 0.8865 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.01224, allocations: 135.2 kB / 0.8866 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01224, allocations: 0 / 0.8866 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000217/0.01246, 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.0001177/0.01258, allocations: 218.4 kB / 0.8868 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.533e-05/0.01265, allocations: 19.61 kB / 0.8868 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01266, allocations: 0 / 0.8868 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.01266, allocations: 0 / 0.8868 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.01308, allocations: 0.7061 MB / 0.8875 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.01639, allocations: 253.4 kB / 0.8878 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.296e-05/0.01643, allocations: 63.34 kB / 0.8878 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.01645, allocations: 3.984 kB / 0.8878 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.01648, allocations: 16.56 kB / 0.8879 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.01648, allocations: 0 / 0.8879 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of Templates: time 0.00212/0.0186, allocations: 317.2 kB / 0.8882 GB, free: 11.99 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.586535490117967]