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.001465/0.001465, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001475/0.001475, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.613/2.613, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 64.31 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.7029, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001896/0.7048, allocations: 0.8454 MB / 1.084 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.7057, allocations: 0.9043 MB / 1.085 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.7057, allocations: 1.5 kB / 1.085 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.228e-05/0.7058, allocations: 10.03 kB / 1.085 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.464e-05/0.7059, allocations: 16.86 kB / 1.085 GB, free: 396 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.7061, allocations: 57.84 kB / 1.085 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.7062, allocations: 131.7 kB / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.7064, allocations: 47.23 kB / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.7065, allocations: 55.64 kB / 1.085 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.7066, allocations: 77.38 kB / 1.085 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.7066, allocations: 12.16 kB / 1.085 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.58e-05/0.7066, allocations: 12.25 kB / 1.085 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.7067, allocations: 39.39 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.7068, allocations: 56.8 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.7069, allocations: 138.3 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7069, allocations: 0.6094 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7069, allocations: 0 / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.707, allocations: 5.375 kB / 1.085 GB, free: 96 kB / 0.8262 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.0008052/0.7078, allocations: 443.2 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.7078, allocations: 8.844 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.7079, allocations: 18.03 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.7081, allocations: 207.4 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.7081, allocations: 11.61 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.7082, allocations: 9.25 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.7086, allocations: 154.8 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7086, allocations: 1.453 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.7086, allocations: 0.5938 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.7086, allocations: 2.344 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.7092, allocations: 160.3 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.7099, allocations: 413.4 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/0.7107, allocations: 171.9 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.711, allocations: 86.64 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.711, allocations: 5.906 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.7111, allocations: 36.7 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.7111, allocations: 0 / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0009535/0.712, allocations: 279 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.7121, allocations: 53.84 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.7122, allocations: 153.1 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.7122, allocations: 25.7 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.7123, allocations: 113.6 kB / 1.088 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.7124, allocations: 29.62 kB / 1.088 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.7124, allocations: 31.25 kB / 1.088 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7126, allocations: 324.2 kB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.7129, allocations: 70.84 kB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.7131, allocations: 76.16 kB / 1.088 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.7137, allocations: 170.5 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7137, allocations: 0 / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005956/0.7143, allocations: 209.1 kB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7143, allocations: 9.156 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7143, allocations: 0 / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7144, allocations: 1.281 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.7146, allocations: 38.81 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7146, allocations: 0 / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.7148, allocations: 18.88 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.7148, allocations: 6.156 kB / 1.088 GB, free: 13.94 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.0001101/0.7149, allocations: 125.5 kB / 1.089 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.715, allocations: 12.47 kB / 1.089 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.715, allocations: 20.69 kB / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.715, allocations: 0 / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.715, allocations: 1.219 kB / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.715, allocations: 0.8906 kB / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.7153, allocations: 238.4 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7153, allocations: 0.5938 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.7155, allocations: 40.03 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.7156, allocations: 3.938 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.7156, allocations: 2.594 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7156, allocations: 2.203 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7156, allocations: 0 / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006606/0.7163, allocations: 302.1 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.7163, allocations: 89.23 kB / 1.089 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.7164, allocations: 4.938 kB / 1.089 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.7166, allocations: 21.94 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.7167, allocations: 32.19 kB / 1.089 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.7167, allocations: 7.266 kB / 1.089 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.7168, allocations: 120.8 kB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7168, allocations: 0 / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002348/0.717, allocations: 22.19 kB / 1.089 GB, free: 13.16 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.0001289/0.7172, allocations: 107.6 kB / 1.09 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006161/0.7178, allocations: 172.4 kB / 1.09 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7178, allocations: 0 / 1.09 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.7181, allocations: 93.86 kB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.7184, allocations: 23.11 kB / 1.09 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.719, allocations: 268.4 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.7193, allocations: 0.7148 MB / 1.091 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.7194, allocations: 24.73 kB / 1.091 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.7194, allocations: 0 / 1.091 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of Templates: time 0.003495/0.7229, allocations: 1.821 MB / 1.093 GB, free: 11.96 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=400 -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