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.002364/0.002364, allocations: 81.5 kB / 19.44 MB, free: 344 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.002864/0.002864, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.647/3.647, allocations: 429.5 MB / 0.6729 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|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.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.55e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002512/0.002548, allocations: 0.8583 MB / 0.8784 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.00394, allocations: 0.9171 MB / 0.8793 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.003999, allocations: 0 / 0.8793 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.004136, allocations: 20.73 kB / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.004282, allocations: 28.83 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.004434, allocations: 45.06 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.004665, allocations: 139.5 kB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.004842, allocations: 33.52 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.004983, allocations: 77.27 kB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.005142, allocations: 71.84 kB / 0.8797 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/0.005194, allocations: 12 kB / 0.8797 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.07e-05/0.005224, allocations: 12 kB / 0.8797 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.005308, allocations: 50.92 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.00539, allocations: 39.91 kB / 0.8798 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.005671, allocations: 183.3 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005674, allocations: 0 / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005674, allocations: 0 / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.00568, allocations: 0 / 0.8799 GB, free: 4.141 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.0009889/0.006669, allocations: 0.5095 MB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.006712, allocations: 12.03 kB / 0.8804 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.00679, allocations: 24.84 kB / 0.8805 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.007061, allocations: 157.2 kB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.007083, allocations: 12.83 kB / 0.8806 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.007115, allocations: 8.375 kB / 0.8806 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.007506, allocations: 128 kB / 0.8808 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.007515, allocations: 192 / 0.8808 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.007535, allocations: 5.969 kB / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.00754, allocations: 384 / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.007992, allocations: 117.8 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009992/0.008991, allocations: 455.3 kB / 0.8813 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.009325, allocations: 98.95 kB / 0.8814 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.009556, allocations: 59.64 kB / 0.8815 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.009585, allocations: 4 kB / 0.8815 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.009631, allocations: 49.52 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.009632, allocations: 0 / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0008275/0.01046, allocations: 209.9 kB / 0.8817 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.01052, allocations: 55.41 kB / 0.8818 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.01077, allocations: 251.5 kB / 0.882 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.0108, allocations: 25.7 kB / 0.882 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.01094, allocations: 174.7 kB / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.011, allocations: 35.7 kB / 0.8822 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.01108, allocations: 27.38 kB / 0.8823 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003023/0.01138, allocations: 0.5078 MB / 0.8828 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.0116, allocations: 51.97 kB / 0.8828 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.01181, allocations: 55.98 kB / 0.8829 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.01223, allocations: 111.5 kB / 0.883 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01223, allocations: 0 / 0.883 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005168/0.01275, allocations: 161.5 kB / 0.8831 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01276, allocations: 6.344 kB / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01277, allocations: 0 / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.01279, allocations: 0 / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.01302, allocations: 31.97 kB / 0.8832 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01302, allocations: 0 / 0.8832 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.01316, allocations: 23.97 kB / 0.8832 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01317, allocations: 4 kB / 0.8832 GB, free: 0.6172 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 0.0001407/0.01331, allocations: 164.5 kB / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.01335, allocations: 15.91 kB / 0.8834 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.864e-05/0.01342, allocations: 25.45 kB / 0.8834 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.01343, allocations: 4 kB / 0.8834 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01343, allocations: 0 / 0.8834 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01343, allocations: 0 / 0.8834 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.0137, allocations: 180.5 kB / 0.8836 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.0137, allocations: 0 / 0.8836 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.0139, allocations: 39.91 kB / 0.8836 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.0139, allocations: 0 / 0.8836 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.01392, allocations: 7.922 kB / 0.8836 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01392, allocations: 0 / 0.8836 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01392, allocations: 0 / 0.8836 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.01456, allocations: 311.6 kB / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.01459, allocations: 19.84 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.01462, allocations: 0 / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.01477, allocations: 23.97 kB / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.01486, allocations: 15.98 kB / 0.884 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.01487, allocations: 4 kB / 0.884 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001539/0.01503, allocations: 179 kB / 0.8841 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01503, allocations: 0 / 0.8841 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002377/0.01526, allocations: 23.95 kB / 0.8842 GB, free: 15.56 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.0001521/0.01542, allocations: 97.62 kB / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.01595, allocations: 135.5 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01595, allocations: 0 / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.0162, allocations: 71.58 kB / 0.8844 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.01654, allocations: 36.67 kB / 0.8845 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.01722, allocations: 291.4 kB / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.01736, allocations: 114.2 kB / 0.8849 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.373e-05/0.01744, allocations: 20.47 kB / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.01751, allocations: 12.5 kB / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.01751, allocations: 0 / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.006102/0.02361, allocations: 2.044 MB / 0.8869 GB, free: 12.72 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.84132966492325]