Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 64.12 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8541, allocations: 140.4 MB / 0.9491 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001941/0.8561, allocations: 0.902 MB / 0.95 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.857, allocations: 0.898 MB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.857, allocations: 1.688 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.8571, allocations: 13.42 kB / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.8573, allocations: 4.906 kB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.8574, allocations: 53.72 kB / 0.9509 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.8576, allocations: 137.9 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.8577, allocations: 44.47 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.8578, allocations: 50.72 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.858, allocations: 82.56 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.858, allocations: 12.34 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.644e-05/0.858, allocations: 12.59 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.8581, allocations: 37.86 kB / 0.9513 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.8582, allocations: 53.34 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.8583, allocations: 135.5 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8583, allocations: 4 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8583, allocations: 0 / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8583, allocations: 1.219 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007431/0.8591, allocations: 456.2 kB / 0.9519 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.8591, allocations: 8.781 kB / 0.9519 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.8592, allocations: 14.59 kB / 0.9519 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.8593, allocations: 210.3 kB / 0.9521 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.8593, allocations: 8.625 kB / 0.9521 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.8594, allocations: 9.281 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.8598, allocations: 156.8 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.8598, allocations: 0 / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.8598, allocations: 1.062 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.8598, allocations: 2.281 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.8604, allocations: 164.1 kB / 0.9525 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.8609, allocations: 409.9 kB / 0.9529 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/0.8617, allocations: 178.1 kB / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.862, allocations: 83.47 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.862, allocations: 9 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.8621, allocations: 36.38 kB / 0.9531 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.8621, allocations: 0 / 0.9531 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0008852/0.863, allocations: 285.2 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.863, allocations: 52.69 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.8631, allocations: 150 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.8631, allocations: 29.7 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.8632, allocations: 105.1 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.8632, allocations: 31.3 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.8633, allocations: 30.7 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.8633, allocations: 325.4 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.8636, allocations: 75.83 kB / 0.9542 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.8638, allocations: 74.95 kB / 0.9543 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.8643, allocations: 156.7 kB / 0.9544 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8643, allocations: 0 / 0.9544 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005546/0.8649, allocations: 207.1 kB / 0.9546 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.8649, allocations: 13.12 kB / 0.9546 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8649, allocations: 0 / 0.9546 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.865, allocations: 1.469 kB / 0.9546 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.8652, allocations: 35.73 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.8652, allocations: 3.938 kB / 0.9547 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.8654, allocations: 23.31 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.8654, allocations: 3.25 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.245e-05/0.8655, allocations: 128.1 kB / 0.9548 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.8655, allocations: 16.81 kB / 0.9548 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.8656, allocations: 14.88 kB / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8656, allocations: 2.094 kB / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.8656, allocations: 0 / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8656, allocations: 5.047 kB / 0.9548 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.8658, allocations: 231.4 kB / 0.9551 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8658, allocations: 1.312 kB / 0.9551 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.866, allocations: 39.33 kB / 0.9551 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.8661, allocations: 8.969 kB / 0.9551 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.8661, allocations: 9.109 kB / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.8661, allocations: 0 / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8661, allocations: 1.281 kB / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.8667, allocations: 298.3 kB / 0.9554 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.8667, allocations: 91.02 kB / 0.9555 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.8667, allocations: 5.125 kB / 0.9555 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.8669, allocations: 18.41 kB / 0.9555 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.867, allocations: 29.69 kB / 0.9555 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.8671, allocations: 7.297 kB / 0.9555 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.041e-05/0.8671, allocations: 117.7 kB / 0.9557 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8671, allocations: 0 / 0.9557 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002476/0.8674, allocations: 18.75 kB / 0.9557 GB, free: 3.723 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001053/0.8675, allocations: 109.5 kB / 0.9558 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005805/0.8681, allocations: 178.1 kB / 0.9559 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8681, allocations: 1 kB / 0.9559 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.8684, allocations: 108.3 kB / 0.9561 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.8687, allocations: 19.08 kB / 0.9561 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.8691, allocations: 261.5 kB / 0.9563 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.8693, allocations: 0.7175 MB / 0.957 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.8694, allocations: 21.8 kB / 0.957 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.8695, allocations: 25.33 kB / 0.9571 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8695, allocations: 0 / 0.9571 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of Templates: time 0.004297/0.8738, allocations: 2.154 MB / 0.9592 GB, free: 1.434 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches