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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001707/0.001707, allocations: 105.4 kB / 16.41 MB, free: 6.457 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.002207/0.002207, allocations: 189.6 kB / 17.35 MB, free: 5.742 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.517/1.517, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001526, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002818/1.129, allocations: 0.8455 MB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001474/1.13, allocations: 0.9052 MB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/1.13, allocations: 4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/1.131, allocations: 15.86 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001627/1.131, allocations: 11.81 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/1.131, allocations: 59.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002608/1.131, allocations: 127.7 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/1.132, allocations: 53.06 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/1.132, allocations: 51.84 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/1.132, allocations: 87.66 kB / 1.211 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/1.132, allocations: 15.94 kB / 1.211 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.762e-05/1.132, allocations: 12 kB / 1.211 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/1.132, allocations: 27.91 kB / 1.211 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/1.132, allocations: 63.64 kB / 1.211 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/1.132, allocations: 135.5 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/1.132, allocations: 0 / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.853e-06/1.132, allocations: 0 / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.642e-05/1.133, allocations: 0 / 1.211 GB, free: 11.4 MB / 0.9356 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.001066/1.134, allocations: 448.8 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.134, allocations: 8.031 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/1.134, allocations: 20.75 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/1.134, allocations: 212.5 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/1.134, allocations: 11.89 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/1.134, allocations: 8 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/1.135, allocations: 151.3 kB / 1.212 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.135, allocations: 0 / 1.212 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/1.135, allocations: 4 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.135, allocations: 4 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005852/1.135, allocations: 155.8 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007487/1.136, allocations: 408.6 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/1.137, allocations: 174.5 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/1.137, allocations: 92.84 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/1.137, allocations: 0 / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/1.137, allocations: 30.56 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 3.447e-06/1.137, allocations: 0 / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.001078/1.138, allocations: 289.2 kB / 1.213 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.138, allocations: 55.34 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/1.138, allocations: 148.8 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/1.139, allocations: 25.7 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/1.139, allocations: 112.3 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/1.139, allocations: 31.64 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/1.139, allocations: 29.7 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.139, allocations: 322.8 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/1.139, allocations: 71.86 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/1.139, allocations: 79.92 kB / 1.214 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/1.14, allocations: 156.7 kB / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.14, allocations: 0 / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000624/1.141, allocations: 213.3 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.141, allocations: 6.031 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.141, allocations: 0 / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.141, allocations: 3.984 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/1.141, allocations: 39.89 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.141, allocations: 0 / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/1.141, allocations: 23.97 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/1.141, allocations: 4 kB / 1.214 GB, free: 7.902 MB / 0.9356 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.0001411/1.141, allocations: 121.8 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/1.141, allocations: 15.84 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/1.141, allocations: 12.72 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.142, allocations: 0 / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.142, allocations: 4 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/1.142, allocations: 85 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/1.142, allocations: 11.94 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/1.142, allocations: 19.97 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.142, allocations: 31.97 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008659/1.143, allocations: 312.8 kB / 1.215 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009085/1.144, allocations: 378.4 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004235/1.144, allocations: 99.91 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001113/1.144, allocations: 111.2 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of Backend: time 7.81e-07/1.144, allocations: 0 / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007661/1.145, allocations: 178.2 kB / 1.215 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008925/1.146, allocations: 0.6627 MB / 1.216 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of Templates: time 0.007078/1.153, allocations: 2.75 MB / 1.219 GB, free: 3.039 MB / 0.9356 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/jenkins1/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