Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001441/0.001441, 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.001544/0.001544, allocations: 193.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.56/1.56, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.169/3.169, allocations: 482.2 MB / 0.7542 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 66.67 kB / 0.9232 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 162.2 MB / 1.082 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002875/0.3701, allocations: 0.9034 MB / 1.083 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.372, allocations: 0.9013 MB / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.3721, allocations: 4 kB / 1.083 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.3723, allocations: 3.938 kB / 1.083 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.3725, allocations: 11.86 kB / 1.083 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.3728, allocations: 51.95 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.3731, allocations: 127.7 kB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.3733, allocations: 45.09 kB / 1.084 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3735, allocations: 67.75 kB / 1.084 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.3737, allocations: 79.72 kB / 1.084 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.3738, allocations: 12 kB / 1.084 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-05/0.3738, allocations: 15.94 kB / 1.084 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.856e-05/0.3739, allocations: 31.84 kB / 1.084 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.374, allocations: 59.7 kB / 1.084 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.3743, allocations: 131.5 kB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3743, allocations: 0 / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3744, allocations: 0 / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.3744, allocations: 3.984 kB / 1.084 GB, free: 11.27 MB / 0.8419 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.001288/0.3757, allocations: 447.2 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.3757, allocations: 8.031 kB / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.3758, allocations: 16.75 kB / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3762, allocations: 213.9 kB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.3762, allocations: 16.36 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.3763, allocations: 7.938 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.377, allocations: 149.6 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.377, allocations: 0 / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.377, allocations: 0 / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3771, allocations: 4 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008869/0.378, allocations: 165.5 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.379, allocations: 416.5 kB / 1.085 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3801, allocations: 170.4 kB / 1.086 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.3805, allocations: 84.95 kB / 1.086 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.3806, allocations: 0 / 1.086 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.3806, allocations: 42.56 kB / 1.086 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.3806, allocations: 0 / 1.086 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.00155/0.3822, allocations: 281.2 kB / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.3823, allocations: 55.34 kB / 1.086 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3825, allocations: 155.6 kB / 1.086 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3826, allocations: 25.7 kB / 1.086 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3827, allocations: 108 kB / 1.086 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.3827, allocations: 24.03 kB / 1.086 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3828, allocations: 29.7 kB / 1.086 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.383, allocations: 322.8 kB / 1.087 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.3835, allocations: 79.92 kB / 1.087 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.3838, allocations: 75.86 kB / 1.087 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.3845, allocations: 160.7 kB / 1.087 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3845, allocations: 0 / 1.087 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009184/0.3855, allocations: 201.3 kB / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.3855, allocations: 7.938 kB / 1.087 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.3855, allocations: 4 kB / 1.087 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3856, allocations: 0 / 1.087 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.3859, allocations: 39.89 kB / 1.087 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3859, allocations: 4 kB / 1.087 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.3862, allocations: 23.91 kB / 1.087 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.3862, allocations: 7.984 kB / 1.087 GB, free: 7.77 MB / 0.8419 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 0.0001712/0.3864, allocations: 121.8 kB / 1.087 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.3865, allocations: 11.84 kB / 1.087 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.585e-05/0.3865, allocations: 20.7 kB / 1.087 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3866, allocations: 0 / 1.087 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3866, allocations: 0 / 1.087 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3866, allocations: 0 / 1.087 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.387, allocations: 237.5 kB / 1.088 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.387, allocations: 0 / 1.088 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.3873, allocations: 39.89 kB / 1.088 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.3874, allocations: 7.938 kB / 1.088 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.3874, allocations: 4.266 kB / 1.088 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.3874, allocations: 8 kB / 1.088 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3874, allocations: 0 / 1.088 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.3883, allocations: 303.2 kB / 1.088 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.611e-05/0.3884, allocations: 92.89 kB / 1.088 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.3885, allocations: 0 / 1.088 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.3888, allocations: 23.97 kB / 1.088 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.3889, allocations: 31.97 kB / 1.088 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.389, allocations: 3.984 kB / 1.088 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001298/0.3891, allocations: 118.4 kB / 1.088 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3891, allocations: 0 / 1.088 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004419/0.3896, allocations: 31.84 kB / 1.088 GB, free: 6.641 MB / 0.8419 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.0001995/0.3898, allocations: 99.25 kB / 1.088 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008974/0.3907, allocations: 175.8 kB / 1.088 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3907, allocations: 4 kB / 1.088 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.3911, allocations: 95.86 kB / 1.089 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.3916, allocations: 22.88 kB / 1.089 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008869/0.3925, allocations: 274 kB / 1.089 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.393, allocations: 0.7041 MB / 1.09 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001942/0.3932, allocations: 24.44 kB / 1.09 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.3933, allocations: 27.41 kB / 1.09 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of SimCode: time 3.567e-06/0.3934, allocations: 480 / 1.09 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of Templates: time 0.00751/0.4009, allocations: 2.144 MB / 1.092 GB, free: 3.035 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches