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.001399/0.001399, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001135/0.001135, allocations: 181 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 0.9825/0.9825, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.423/2.423, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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.816e-06/2.816e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.904e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002463/0.002492, allocations: 0.8622 MB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.003518, allocations: 0.9209 MB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.003576, allocations: 4 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.003688, allocations: 19.8 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.003795, allocations: 31.72 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.003914, allocations: 39.95 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.004061, allocations: 139.5 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.004198, allocations: 42.14 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.774e-05/0.004296, allocations: 79.81 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.004411, allocations: 67.83 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.004446, allocations: 16 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.004463, allocations: 12 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.004514, allocations: 47.84 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.004558, allocations: 43.89 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.004708, allocations: 127.5 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004711, allocations: 0 / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004712, allocations: 0 / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.004716, allocations: 0 / 0.841 GB, free: 11.67 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.0004446/0.00516, allocations: 384.1 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.005193, allocations: 16.56 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.005227, allocations: 12.92 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.005363, allocations: 158.2 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.005374, allocations: 8.375 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.005389, allocations: 4.375 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.00559, allocations: 125.6 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005598, allocations: 4.125 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.005607, allocations: 4.375 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005613, allocations: 4.375 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.753e-05/0.00567, allocations: 25.83 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.00608, allocations: 285.6 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.006171, allocations: 88.06 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.006207, allocations: 24.86 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.006217, allocations: 3.938 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.006238, allocations: 34.75 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.006239, allocations: 0 / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001676/0.006407, allocations: 69.61 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.006439, allocations: 59.39 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.006529, allocations: 175.6 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.006542, allocations: 25.7 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.006582, allocations: 108.2 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.00661, allocations: 35.69 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.006643, allocations: 21.7 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/0.006719, allocations: 326.8 kB / 0.843 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.00675, allocations: 18.83 kB / 0.843 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.006775, allocations: 8 kB / 0.843 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.601e-05/0.006831, allocations: 39.05 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.006834, allocations: 3.938 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.944e-05/0.006924, allocations: 65.55 kB / 0.8431 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.006936, allocations: 8 kB / 0.8431 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006941, allocations: 0 / 0.8431 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.006951, allocations: 0 / 0.8431 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.007069, allocations: 27.98 kB / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.007076, allocations: 3.984 kB / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.007128, allocations: 27.86 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.007134, allocations: 0 / 0.8431 GB, free: 9.344 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.456e-05/0.007198, allocations: 116.6 kB / 0.8433 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.007222, allocations: 11.98 kB / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.007248, allocations: 17.47 kB / 0.8433 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.00725, allocations: 4 kB / 0.8433 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.007252, allocations: 0 / 0.8433 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007256, allocations: 0 / 0.8433 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.007383, allocations: 109.8 kB / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.007385, allocations: 3.984 kB / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.007455, allocations: 23.98 kB / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.007458, allocations: 7.922 kB / 0.8434 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.007466, allocations: 8 kB / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007468, allocations: 0 / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007469, allocations: 0 / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.0076, allocations: 210.1 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.007612, allocations: 15.84 kB / 0.8437 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.007626, allocations: 8 kB / 0.8437 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.007688, allocations: 15.98 kB / 0.8437 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.007731, allocations: 15.97 kB / 0.8437 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.007736, allocations: 4 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.007769, allocations: 45.98 kB / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007769, allocations: 0 / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001372/0.007906, allocations: 39.83 kB / 0.8438 GB, free: 8.656 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.93e-05/0.008006, allocations: 72.42 kB / 0.8438 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.903e-05/0.008105, allocations: 36.78 kB / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.00811, allocations: 8 kB / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.008148, allocations: 24.86 kB / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.00834, allocations: 35.7 kB / 0.8439 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.008734, allocations: 288.4 kB / 0.8442 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.008776, allocations: 75.33 kB / 0.8443 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.008817, allocations: 8.484 kB / 0.8443 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.008904, allocations: 67.36 kB / 0.8444 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.008904, allocations: 0 / 0.8444 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of Templates: time 0.003337/0.01224, allocations: 1.895 MB / 0.8462 GB, free: 6.133 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 -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.356110501103103]