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.0009684/0.0009684, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009979/0.0009979, allocations: 165 kB / 23.02 MB, free: 1.547 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.285/2.285, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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.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.715e-06/2.715e-06, allocations: 0 / 0.8782 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.959e-05, allocations: 3.156 kB / 0.8782 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002748/0.002777, allocations: 0.8792 MB / 0.8791 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.004206, allocations: 0.9226 MB / 0.88 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.004288, allocations: 0.875 kB / 0.88 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.004433, allocations: 20.56 kB / 0.88 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.004591, allocations: 28.81 kB / 0.8801 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.00477, allocations: 45.06 kB / 0.8801 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.004992, allocations: 143.5 kB / 0.8802 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.005176, allocations: 30.47 kB / 0.8803 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.005346, allocations: 83.78 kB / 0.8803 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.00549, allocations: 68.36 kB / 0.8804 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.005526, allocations: 12 kB / 0.8804 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.00555, allocations: 15.44 kB / 0.8804 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.005621, allocations: 51.81 kB / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.005685, allocations: 35.86 kB / 0.8805 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.005902, allocations: 131.5 kB / 0.8806 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.005906, allocations: 0 / 0.8806 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005907, allocations: 0 / 0.8806 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.005913, allocations: 0 / 0.8806 GB, free: 3.672 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007571/0.00667, allocations: 0.501 MB / 0.8811 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.006719, allocations: 8.906 kB / 0.8811 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.006789, allocations: 28.8 kB / 0.8812 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.007004, allocations: 166 kB / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.007022, allocations: 8.312 kB / 0.8813 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.007047, allocations: 13.84 kB / 0.8813 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.007388, allocations: 123.4 kB / 0.8815 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.007401, allocations: 192 / 0.8815 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.007418, allocations: 5.328 kB / 0.8815 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.007429, allocations: 4.375 kB / 0.8815 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.007555, allocations: 34.73 kB / 0.8815 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.008351, allocations: 435.4 kB / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.008486, allocations: 55.05 kB / 0.882 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.008542, allocations: 23.81 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.008559, allocations: 4 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.00858, allocations: 33.39 kB / 0.882 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.008582, allocations: 4 kB / 0.882 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002289/0.008811, allocations: 97.69 kB / 0.8821 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.008838, allocations: 55.41 kB / 0.8822 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.008963, allocations: 231.5 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.008976, allocations: 25.7 kB / 0.8824 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.009046, allocations: 162.8 kB / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.009078, allocations: 39.67 kB / 0.8826 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.009131, allocations: 27.38 kB / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.00926, allocations: 0.4961 MB / 0.8831 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.009302, allocations: 15.98 kB / 0.8831 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.009336, allocations: 8 kB / 0.8832 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.633e-05/0.009412, allocations: 52.11 kB / 0.8832 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009414, allocations: 0 / 0.8832 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001186/0.009533, allocations: 81.53 kB / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.009548, allocations: 8 kB / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.009553, allocations: 0 / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.009567, allocations: 0 / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.009704, allocations: 23.98 kB / 0.8833 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.00971, allocations: 3.984 kB / 0.8833 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.009769, allocations: 27.92 kB / 0.8833 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.009778, allocations: 8 kB / 0.8834 GB, free: 0.6953 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 (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 9.87e-05/0.009876, allocations: 164.5 kB / 0.8835 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.009903, allocations: 15.91 kB / 0.8835 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.009937, allocations: 25.45 kB / 0.8835 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.009941, allocations: 4 kB / 0.8836 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.009945, allocations: 0 / 0.8836 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.009947, allocations: 3.938 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.01008, allocations: 168.5 kB / 0.8837 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01009, allocations: 0 / 0.8837 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.01016, allocations: 31.97 kB / 0.8837 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.01017, allocations: 0 / 0.8837 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.01017, allocations: 0 / 0.8837 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01018, allocations: 4 kB / 0.8838 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01018, allocations: 0 / 0.8838 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.01035, allocations: 239.7 kB / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.01037, allocations: 11.91 kB / 0.884 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.01038, allocations: 0 / 0.884 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.01045, allocations: 19.98 kB / 0.884 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.01052, allocations: 15.97 kB / 0.884 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.01052, allocations: 4 kB / 0.884 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.988e-05/0.01059, allocations: 167.1 kB / 0.8842 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01059, allocations: 0 / 0.8842 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001593/0.01075, allocations: 31.89 kB / 0.8842 GB, free: 15.74 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 (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 0.0001524/0.0109, allocations: 95.25 kB / 0.8843 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.01106, allocations: 47.61 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01106, allocations: 0 / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.799e-05/0.01112, allocations: 31.61 kB / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.01138, allocations: 35.92 kB / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.01183, allocations: 279.9 kB / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.14e-05/0.01187, allocations: 71.33 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.657e-05/0.01191, allocations: 20.47 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.01197, allocations: 20.5 kB / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/0.01197, allocations: 0 / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of Templates: time 0.003702/0.01567, allocations: 2.055 MB / 0.8868 GB, free: 13.06 MB / 0.8542 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.8274080529809]