Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.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.001536/0.001536, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001453/0.001453, allocations: 177 kB / 23.36 MB, free: 1.129 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.062/1.062, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.471/2.471, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.[0-9,]+.|mulSum_1.y|mulSum_2.u.[0-9,]+.|mulSum_2.y|mulSum_5.u.[0-9,]+.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.[0-9,]+.|mulSum_1.y|mulSum_2.u.[0-9,]+.|mulSum_2.y|mulSum_5.u.[0-9,]+.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8387 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.622e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002128/0.002154, allocations: 0.905 MB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.003134, allocations: 0.9248 MB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.003187, allocations: 7.938 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.003293, allocations: 15.8 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.003398, allocations: 31.73 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.003498, allocations: 39.94 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.003647, allocations: 143.5 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.003782, allocations: 38.16 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.95e-05/0.003882, allocations: 75.88 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.003994, allocations: 71.83 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.004018, allocations: 12 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.004033, allocations: 16 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.004088, allocations: 39.84 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.004132, allocations: 43.84 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.004267, allocations: 131.5 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004269, allocations: 0 / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00427, allocations: 0 / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.004275, allocations: 0 / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004269/0.004701, allocations: 384.1 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.004733, allocations: 16.56 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.004768, allocations: 20.92 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.0049, allocations: 158.2 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.00491, allocations: 8.375 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.004921, allocations: 8.375 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.005105, allocations: 123.2 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005112, allocations: 192 / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.005124, allocations: 8.375 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.005129, allocations: 384 / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.005188, allocations: 27.92 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.005612, allocations: 289.6 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.941e-05/0.005712, allocations: 92.02 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.005748, allocations: 20.84 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.005762, allocations: 0 / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.005786, allocations: 38.56 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.005788, allocations: 0 / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001672/0.005955, allocations: 73.8 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.005981, allocations: 51.41 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.006076, allocations: 175.6 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.006088, allocations: 25.7 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.006127, allocations: 104.2 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.006158, allocations: 35.69 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.006193, allocations: 21.7 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.006274, allocations: 326.8 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.006304, allocations: 10.83 kB / 0.8431 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.006329, allocations: 15.98 kB / 0.8431 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/0.006389, allocations: 39 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.006392, allocations: 3.938 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.406e-05/0.006486, allocations: 65.55 kB / 0.8432 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.006502, allocations: 8 kB / 0.8432 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.006507, allocations: 0 / 0.8432 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.006519, allocations: 3.938 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.006632, allocations: 31.97 kB / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.006635, allocations: 0 / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.006687, allocations: 23.92 kB / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.006693, allocations: 0 / 0.8432 GB, free: 9.227 MB / 0.8073 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 (9): * Single equations (assignments): 9 * 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 6.187e-05/0.006755, allocations: 120.6 kB / 0.8434 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.006777, allocations: 7.984 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.006804, allocations: 21.47 kB / 0.8434 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.006808, allocations: 4 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.006809, allocations: 0 / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.006813, allocations: 3.984 kB / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.006926, allocations: 105.8 kB / 0.8435 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.006927, allocations: 3.938 kB / 0.8435 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.007002, allocations: 31.98 kB / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.007005, allocations: 3.938 kB / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.007012, allocations: 0 / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.007013, allocations: 0 / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007014, allocations: 0 / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.007154, allocations: 210.2 kB / 0.8437 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.007167, allocations: 19.84 kB / 0.8438 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.007179, allocations: 0 / 0.8438 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.007244, allocations: 11.98 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.007293, allocations: 27.95 kB / 0.8438 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.007299, allocations: 4 kB / 0.8438 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.007331, allocations: 46 kB / 0.8438 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007331, allocations: 0 / 0.8438 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001469/0.007478, allocations: 31.89 kB / 0.8439 GB, free: 8.543 MB / 0.8073 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 (9): * Single equations (assignments): 9 * 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 9.373e-05/0.007572, allocations: 72.42 kB / 0.8439 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.007681, allocations: 48.77 kB / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.007684, allocations: 0 / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.007727, allocations: 28.78 kB / 0.844 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.00792, allocations: 35.72 kB / 0.844 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.008292, allocations: 276.5 kB / 0.8443 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.008333, allocations: 75.33 kB / 0.8444 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.008375, allocations: 8.484 kB / 0.8444 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.71e-05/0.008472, allocations: 75.34 kB / 0.8445 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of SimCode: time 6.62e-07/0.008473, allocations: 7.938 kB / 0.8445 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of Templates: time 0.003385/0.01186, allocations: 1.903 MB / 0.8463 GB, free: 6 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.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.492369357030839]