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.000976/0.000976, allocations: 88.22 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.0009461/0.0009461, allocations: 177 kB / 23.02 MB, free: 1.539 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.9522/0.9522, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 1.957/1.957, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.046e-06/3.046e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.233e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001569/0.001602, allocations: 0.6717 MB / 0.8789 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001956/0.001797, allocations: 25.73 kB / 0.8789 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.001848, allocations: 0 / 0.8789 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.001983, allocations: 4.688 kB / 0.8789 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.86e-05/0.002042, allocations: 0.875 kB / 0.8789 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.002157, allocations: 4.938 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.002276, allocations: 23.7 kB / 0.879 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.002443, allocations: 21.08 kB / 0.879 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.002485, allocations: 23.97 kB / 0.879 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.62e-05/0.002521, allocations: 15.98 kB / 0.879 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.002547, allocations: 1.031 kB / 0.879 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.00256, allocations: 4 kB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.002597, allocations: 7.938 kB / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.002635, allocations: 17 kB / 0.879 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.002749, allocations: 27.86 kB / 0.8791 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.002754, allocations: 4 kB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/0.002756, allocations: 1.125 kB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.002763, allocations: 0 / 0.8791 GB, free: 5.426 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.000389/0.003152, allocations: 380.5 kB / 0.8794 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.003203, allocations: 13.06 kB / 0.8794 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.003257, allocations: 8.891 kB / 0.8795 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.003428, allocations: 125.6 kB / 0.8796 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.003439, allocations: 4.359 kB / 0.8796 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.003455, allocations: 8.375 kB / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.003583, allocations: 50.95 kB / 0.8796 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.003592, allocations: 192 / 0.8796 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.003606, allocations: 5.938 kB / 0.8796 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.003616, allocations: 384 / 0.8796 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.003658, allocations: 19.94 kB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.004142, allocations: 0.537 MB / 0.8802 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.004243, allocations: 269.4 kB / 0.8804 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.00428, allocations: 127.4 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.004314, allocations: 124.7 kB / 0.8807 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.004365, allocations: 152.6 kB / 0.8808 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.004366, allocations: 0 / 0.8808 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.149e-05/0.004438, allocations: 30.45 kB / 0.8809 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.004508, allocations: 175.1 kB / 0.881 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.004628, allocations: 182.7 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.004637, allocations: 25.7 kB / 0.8812 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.004715, allocations: 147.8 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.004718, allocations: 0 / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.004751, allocations: 15.38 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.004887, allocations: 0.4968 MB / 0.8819 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.004903, allocations: 0 / 0.8819 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.004912, allocations: 5.438 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.004953, allocations: 7.688 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.004955, allocations: 0 / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001184/0.005074, allocations: 45 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.005091, allocations: 4 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.005098, allocations: 4 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.005113, allocations: 0 / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.005186, allocations: 4 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.005194, allocations: 0 / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.005211, allocations: 4 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.005223, allocations: 0 / 0.8819 GB, free: 2.293 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.0001155/0.005338, allocations: 280.9 kB / 0.8822 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.005394, allocations: 152.8 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.005453, allocations: 160.3 kB / 0.8825 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-05/0.005518, allocations: 265.2 kB / 0.8828 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.125e-05/0.005589, allocations: 268.1 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.146e-05/0.005661, allocations: 272 kB / 0.8833 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.005881, allocations: 0.5155 MB / 0.8838 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.691e-05/0.005928, allocations: 148.8 kB / 0.8839 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.006173, allocations: 145 kB / 0.8841 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.572e-05/0.006258, allocations: 272 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-05/0.006338, allocations: 268 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.467e-05/0.006402, allocations: 268.1 kB / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.191e-05/0.006474, allocations: 276 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.00664, allocations: 447.9 kB / 0.8855 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.006685, allocations: 148.9 kB / 0.8857 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.00677, allocations: 268.1 kB / 0.8859 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.006847, allocations: 152.8 kB / 0.8861 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.006927, allocations: 272.1 kB / 0.8863 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.006973, allocations: 148.8 kB / 0.8865 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.007035, allocations: 131.2 kB / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007036, allocations: 0 / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001616/0.007197, allocations: 15.89 kB / 0.8866 GB, free: 13.32 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.000192/0.007389, allocations: 214.4 kB / 0.8868 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.007504, allocations: 11.69 kB / 0.8868 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.007506, allocations: 0 / 0.8868 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.007508, allocations: 4.062 kB / 0.8868 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.007906, allocations: 0.71 MB / 0.8875 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.008252, allocations: 249.4 kB / 0.8878 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.28e-05/0.008295, allocations: 67.34 kB / 0.8878 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.008319, allocations: 0 / 0.8878 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.008355, allocations: 8.5 kB / 0.8878 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of SimCode: time 1.182e-06/0.008356, allocations: 0 / 0.8878 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of Templates: time 0.002719/0.01108, allocations: 342.9 kB / 0.8882 GB, free: 11.66 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.085262334905565]