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.001023/0.001023, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001006/0.001006, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9771/0.9771, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.104/2.104, allocations: 429.5 MB / 0.6743 GB, free: 3.898 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.194e-06/2.194e-06, allocations: 0 / 0.8795 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.656e-05, allocations: 3.078 kB / 0.8795 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001375/0.001402, allocations: 0.6749 MB / 0.8801 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001409/0.001543, allocations: 19.92 kB / 0.8801 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.001583, allocations: 0.75 kB / 0.8801 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.001687, allocations: 0.6562 kB / 0.8801 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.001726, allocations: 4.75 kB / 0.8801 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.588e-05/0.001791, allocations: 13.47 kB / 0.8802 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.442e-05/0.001866, allocations: 20.03 kB / 0.8802 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.001983, allocations: 25.58 kB / 0.8802 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.002018, allocations: 21.39 kB / 0.8802 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.648e-05/0.002045, allocations: 9.75 kB / 0.8802 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.002064, allocations: 0 / 0.8802 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.002075, allocations: 4.938 kB / 0.8802 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.002108, allocations: 15.92 kB / 0.8803 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.00213, allocations: 15.92 kB / 0.8803 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.938e-05/0.002209, allocations: 25.02 kB / 0.8803 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.002212, allocations: 7.922 kB / 0.8803 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002213, allocations: 0 / 0.8803 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.002219, allocations: 4.594 kB / 0.8803 GB, free: 5.117 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.0002665/0.002485, allocations: 373.2 kB / 0.8807 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.002519, allocations: 12.03 kB / 0.8807 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.002547, allocations: 9.922 kB / 0.8807 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.002656, allocations: 128.5 kB / 0.8808 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-06/0.002664, allocations: 384 / 0.8808 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.002672, allocations: 5.531 kB / 0.8808 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.609e-05/0.002748, allocations: 50.25 kB / 0.8809 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.002754, allocations: 192 / 0.8809 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.002761, allocations: 5.375 kB / 0.8809 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.002766, allocations: 384 / 0.8809 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.002786, allocations: 15.92 kB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.003103, allocations: 0.5152 MB / 0.8814 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.003185, allocations: 265.4 kB / 0.8816 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.003216, allocations: 130.9 kB / 0.8818 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.003242, allocations: 120.3 kB / 0.8819 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.003285, allocations: 160.6 kB / 0.882 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.003286, allocations: 1.094 kB / 0.882 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 4.962e-05/0.003336, allocations: 26.45 kB / 0.8821 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.003392, allocations: 174.6 kB / 0.8822 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.003481, allocations: 181.1 kB / 0.8824 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.003489, allocations: 25.7 kB / 0.8824 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.003546, allocations: 150.7 kB / 0.8826 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.003548, allocations: 0 / 0.8826 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.003573, allocations: 23.38 kB / 0.8826 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.003682, allocations: 496.1 kB / 0.8831 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.003689, allocations: 4 kB / 0.8831 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.003694, allocations: 0 / 0.8831 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/0.003722, allocations: 12.91 kB / 0.8831 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.003724, allocations: 0 / 0.8831 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.244e-05/0.003796, allocations: 33.7 kB / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.003807, allocations: 5.562 kB / 0.8831 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.003812, allocations: 0 / 0.8831 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.00382, allocations: 11.92 kB / 0.8831 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.109e-05/0.003861, allocations: 0 / 0.8831 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.003863, allocations: 1.094 kB / 0.8831 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.003877, allocations: 4 kB / 0.8831 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.003884, allocations: 4 kB / 0.8831 GB, free: 2.031 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.534e-05/0.00397, allocations: 277.3 kB / 0.8834 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.004015, allocations: 148.8 kB / 0.8835 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.00406, allocations: 164.3 kB / 0.8837 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.819e-05/0.004118, allocations: 268.2 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.824e-05/0.004177, allocations: 276.1 kB / 0.8842 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.693e-05/0.004234, allocations: 268.1 kB / 0.8845 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.004405, allocations: 492.5 kB / 0.8849 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-05/0.004451, allocations: 152.8 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.004483, allocations: 152.8 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.859e-05/0.004542, allocations: 268.1 kB / 0.8855 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.0046, allocations: 272 kB / 0.8857 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.753e-05/0.004658, allocations: 268.1 kB / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.237e-05/0.00472, allocations: 272 kB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.004845, allocations: 444 kB / 0.8867 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.004888, allocations: 160.8 kB / 0.8868 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.004951, allocations: 264.1 kB / 0.8871 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/0.005011, allocations: 152.8 kB / 0.8872 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.005076, allocations: 264.1 kB / 0.8875 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.005107, allocations: 148.9 kB / 0.8876 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.459e-05/0.005152, allocations: 135.1 kB / 0.8878 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005152, allocations: 0 / 0.8878 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001415/0.005294, allocations: 15.89 kB / 0.8878 GB, free: 13.09 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.0001215/0.005415, allocations: 214.4 kB / 0.888 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.822e-05/0.005473, allocations: 15.69 kB / 0.888 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.005475, allocations: 0 / 0.888 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.005477, allocations: 0 / 0.888 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.005794, allocations: 0.7036 MB / 0.8887 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.006025, allocations: 257.3 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.00606, allocations: 71.27 kB / 0.889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.77e-05/0.006078, allocations: 0 / 0.889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.006115, allocations: 70.2 kB / 0.8891 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.006115, allocations: 0 / 0.8891 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.001777/0.007892, allocations: 341.5 kB / 0.8894 GB, free: 11.37 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.238898179959506]