Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 108.5 kB / 15.99 MB, free: 6.348 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.00161/0.00161, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.435/1.435, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 482.4 MB / 0.755 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 75.81 kB / 0.924 GB, free: 316 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8091, allocations: 162.2 MB / 1.082 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001851/0.811, allocations: 0.7246 MB / 1.083 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.8112, allocations: 6.344 kB / 1.083 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.8112, allocations: 1.25 kB / 1.083 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.115e-05/0.8113, allocations: 4.641 kB / 1.083 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.244e-05/0.8114, allocations: 1.984 kB / 1.083 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.442e-05/0.8114, allocations: 5 kB / 1.083 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.8115, allocations: 27.72 kB / 1.083 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.8117, allocations: 32.47 kB / 1.083 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.8117, allocations: 15.23 kB / 1.083 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.156e-05/0.8117, allocations: 18.27 kB / 1.083 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.8118, allocations: 6.594 kB / 1.083 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.8118, allocations: 3.625 kB / 1.083 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.8118, allocations: 13.69 kB / 1.083 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.8118, allocations: 16.02 kB / 1.083 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.068e-05/0.8119, allocations: 35.17 kB / 1.083 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8119, allocations: 0 / 1.083 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8119, allocations: 0 / 1.083 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.8119, allocations: 2.344 kB / 1.083 GB, free: 1.086 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002786/0.8122, allocations: 345.2 kB / 1.084 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.8123, allocations: 13.31 kB / 1.084 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.8123, allocations: 8.938 kB / 1.084 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.8125, allocations: 186.5 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.8125, allocations: 7.109 kB / 1.084 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.8125, allocations: 8.094 kB / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.8127, allocations: 78.42 kB / 1.084 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.8127, allocations: 192 / 1.084 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.8127, allocations: 3.938 kB / 1.084 GB, free: 452 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8127, allocations: 1.719 kB / 1.084 GB, free: 452 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.8128, allocations: 52.47 kB / 1.084 GB, free: 436 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.8132, allocations: 492.4 kB / 1.084 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.8134, allocations: 165.8 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.8134, allocations: 81.42 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.8135, allocations: 75.28 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.8136, allocations: 115.6 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.8136, allocations: 0 / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.422e-05/0.8137, allocations: 29.38 kB / 1.085 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.8137, allocations: 127.5 kB / 1.085 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.814, allocations: 179.8 kB / 1.085 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.814, allocations: 25.7 kB / 1.085 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.8141, allocations: 94.45 kB / 1.085 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.8141, allocations: 4 kB / 1.085 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.8142, allocations: 17.58 kB / 1.085 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8143, allocations: 315.2 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.8144, allocations: 14.98 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.8144, allocations: 6.469 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.8144, allocations: 20.05 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8144, allocations: 0.8125 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001298/0.8146, allocations: 61.12 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.8146, allocations: 4.969 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8146, allocations: 0 / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.8146, allocations: 1.562 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.8147, allocations: 3 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8147, allocations: 4.734 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.8147, allocations: 4.031 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.8147, allocations: 2.172 kB / 1.086 GB, free: 14.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001285/0.8149, allocations: 190.8 kB / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.815, allocations: 121.3 kB / 1.086 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.815, allocations: 109.7 kB / 1.086 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.561e-05/0.8151, allocations: 181.8 kB / 1.086 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.589e-05/0.8152, allocations: 182.5 kB / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-05/0.8153, allocations: 182.6 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.8157, allocations: 425.7 kB / 1.087 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.493e-05/0.8157, allocations: 104.5 kB / 1.087 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.8158, allocations: 110.9 kB / 1.087 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.991e-05/0.8159, allocations: 182.1 kB / 1.087 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.004e-05/0.816, allocations: 177.6 kB / 1.088 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.118e-05/0.8161, allocations: 181.9 kB / 1.088 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.316e-05/0.8162, allocations: 186.2 kB / 1.088 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.8163, allocations: 311.1 kB / 1.088 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.8165, allocations: 183.5 kB / 1.088 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.8166, allocations: 182.8 kB / 1.089 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.8167, allocations: 110.8 kB / 1.089 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.8168, allocations: 189.8 kB / 1.089 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.8169, allocations: 103.9 kB / 1.089 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001219/0.817, allocations: 133.1 kB / 1.089 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.817, allocations: 0 / 1.089 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002214/0.8172, allocations: 5.469 kB / 1.089 GB, free: 11.11 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002389/0.8175, allocations: 181.5 kB / 1.089 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.912e-05/0.8176, allocations: 7.891 kB / 1.089 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8176, allocations: 7.875 kB / 1.089 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.8176, allocations: 1.062 kB / 1.089 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.8181, allocations: 463.2 kB / 1.09 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.8184, allocations: 245.5 kB / 1.09 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.8188, allocations: 0.688 MB / 1.091 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.8188, allocations: 11.53 kB / 1.091 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.8188, allocations: 0 / 1.091 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of Templates: time 0.002595/0.8214, allocations: 0.7633 MB / 1.091 GB, free: 9.5 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches