Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00183/0.00183, allocations: 109.8 kB / 16.41 MB, free: 6.465 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.002263/0.002263, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002853/1.057, allocations: 0.8514 MB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001691/1.058, allocations: 0.9075 MB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/1.059, allocations: 0 / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001804/1.059, allocations: 19.81 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001918/1.059, allocations: 11.86 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/1.059, allocations: 67.86 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/1.06, allocations: 123.7 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/1.06, allocations: 37.11 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/1.06, allocations: 67.75 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/1.06, allocations: 75.72 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/1.06, allocations: 12 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.683e-05/1.06, allocations: 12 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/1.06, allocations: 31.91 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/1.06, allocations: 63.64 kB / 1.17 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/1.061, allocations: 136 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.061, allocations: 4 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.084e-06/1.061, allocations: 0 / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.061, allocations: 0 / 1.17 GB, free: 1.449 MB / 0.8887 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.0009558/1.062, allocations: 450.8 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.062, allocations: 8.031 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/1.062, allocations: 16.84 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/1.062, allocations: 213.8 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/1.062, allocations: 16.12 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/1.062, allocations: 8 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/1.063, allocations: 155.2 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.063, allocations: 0 / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/1.063, allocations: 0 / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.063, allocations: 0 / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005748/1.063, allocations: 163.8 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/1.064, allocations: 412.5 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/1.065, allocations: 174.4 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/1.065, allocations: 88.89 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/1.065, allocations: 0 / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/1.065, allocations: 34.56 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 2.315e-06/1.065, allocations: 4 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.001062/1.066, allocations: 281.4 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/1.066, allocations: 59.41 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/1.067, allocations: 151.7 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/1.067, allocations: 25.7 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/1.067, allocations: 108 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/1.067, allocations: 27.75 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/1.067, allocations: 33.7 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.067, allocations: 318.8 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/1.067, allocations: 75.92 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/1.068, allocations: 75.92 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/1.068, allocations: 160.7 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.068, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006629/1.069, allocations: 201.4 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.069, allocations: 11.94 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.069, allocations: 0.6562 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.069, allocations: 4 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/1.069, allocations: 35.95 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.069, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/1.069, allocations: 23.92 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/1.069, allocations: 11.98 kB / 1.173 GB, free: 13.94 MB / 0.9044 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.0001403/1.07, allocations: 113.8 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/1.07, allocations: 19.83 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.313e-05/1.07, allocations: 20.7 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/1.07, allocations: 3.938 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.07, allocations: 0 / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/1.07, allocations: 89 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/1.07, allocations: 4 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/1.07, allocations: 19.97 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.07, allocations: 27.97 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008523/1.071, allocations: 308.7 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007861/1.072, allocations: 394.5 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003167/1.072, allocations: 91.91 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.926e-05/1.072, allocations: 113.1 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of Backend: time 5.21e-07/1.072, allocations: 0 / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006896/1.073, allocations: 172.8 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000742/1.074, allocations: 0.6515 MB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.006352/1.08, allocations: 2.683 MB / 1.177 GB, free: 9.176 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches