Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001432/0.001432, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001488/0.001488, allocations: 213.4 kB / 22.99 MB, free: 4.984 MB / 14.72 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.652/1.652, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.396/3.396, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 71.36 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4094, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002473/0.4118, allocations: 0.8443 MB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.4133, allocations: 0.9055 MB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.4134, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.4135, allocations: 27.8 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.4137, allocations: 19.75 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.4138, allocations: 43.94 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.414, allocations: 135.6 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.4142, allocations: 45.5 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.4143, allocations: 51.84 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.4145, allocations: 91.66 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.4145, allocations: 16 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.777e-05/0.4145, allocations: 12 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.4146, allocations: 43.84 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.79e-05/0.4147, allocations: 51.72 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.415, allocations: 183.1 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.415, allocations: 0 / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.609e-06/0.415, allocations: 4 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.415, allocations: 0 / 1.33 GB, free: 14.44 MB / 1.029 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.001008/0.416, allocations: 437.4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.416, allocations: 12.03 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.4161, allocations: 16.84 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.4163, allocations: 162.2 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.4164, allocations: 4.375 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.4164, allocations: 8.375 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.417, allocations: 187.1 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.417, allocations: 4.125 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.417, allocations: 11.94 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.417, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.4178, allocations: 219.8 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.4189, allocations: 436.1 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.4194, allocations: 142.4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.4197, allocations: 116.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.4198, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.4198, allocations: 42.5 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.4198, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.001259/0.4211, allocations: 357.6 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.4211, allocations: 55.41 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.4213, allocations: 182.3 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.4214, allocations: 25.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.4215, allocations: 120.1 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.4215, allocations: 35.69 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.4216, allocations: 29.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4218, allocations: 330.8 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.4222, allocations: 103.9 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.4225, allocations: 107.8 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.4232, allocations: 216.6 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4232, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008003/0.424, allocations: 257.9 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4241, allocations: 8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4241, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4241, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.4244, allocations: 44.05 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4244, allocations: 11.92 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.4246, allocations: 39.83 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.4246, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 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.0001394/0.4247, allocations: 134.3 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.4248, allocations: 11.91 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.4248, allocations: 21.41 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.4248, allocations: 7.938 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4248, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4248, allocations: 11.92 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.4251, allocations: 165.3 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4251, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.4254, allocations: 43.95 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4254, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.4254, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4254, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4254, allocations: 4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008741/0.4263, allocations: 359.1 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.4263, allocations: 15.91 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.4263, allocations: 4 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.4265, allocations: 31.95 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.4266, allocations: 19.95 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.4266, allocations: 4 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001116/0.4267, allocations: 135.1 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4267, allocations: 0 / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002657/0.427, allocations: 39.83 kB / 1.334 GB, free: 9.566 MB / 1.029 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.0001426/0.4271, allocations: 95.19 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007915/0.4279, allocations: 223.7 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4279, allocations: 0 / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.4283, allocations: 120.1 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.4287, allocations: 25.52 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.4293, allocations: 307.3 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.4295, allocations: 114.1 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.636e-05/0.4296, allocations: 20.42 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.4296, allocations: 15.44 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4296, allocations: 4 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of Templates: time 0.005633/0.4353, allocations: 2.185 MB / 1.337 GB, free: 6.461 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.714744280994637]