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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009982/0.0009983, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001563, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 462.6 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 16.31 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.323, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001021/0.3241, allocations: 384.6 kB / 1.06 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001733/0.3243, allocations: 11.88 kB / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.3244, allocations: 4 kB / 1.06 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3245, allocations: 3.984 kB / 1.06 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.3245, allocations: 4 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.29e-05/0.3246, allocations: 4 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.3247, allocations: 27.92 kB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3249, allocations: 27.98 kB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.378e-05/0.3249, allocations: 11.92 kB / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.193e-05/0.3249, allocations: 7.938 kB / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.325, allocations: 4 kB / 1.06 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.325, allocations: 0 / 1.06 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.325, allocations: 7.938 kB / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.3251, allocations: 41.56 kB / 1.06 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.499e-05/0.3252, allocations: 31.94 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3252, allocations: 4 kB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3252, allocations: 0 / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3252, allocations: 0 / 1.06 GB, free: 4.395 MB / 0.8106 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.0003625/0.3256, allocations: 343.6 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.3256, allocations: 11.97 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.3257, allocations: 8.938 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.3259, allocations: 184.2 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3259, allocations: 384 / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.3259, allocations: 8.375 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3261, allocations: 86.16 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3261, allocations: 192 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3261, allocations: 3.938 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3262, allocations: 0 / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.889e-05/0.3262, allocations: 47.97 kB / 1.061 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.3268, allocations: 491 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.3269, allocations: 173.1 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.327, allocations: 80.14 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.327, allocations: 79.31 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.3271, allocations: 109.8 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.3271, allocations: 0 / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.783e-05/0.3272, allocations: 33.61 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.3272, allocations: 134.7 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3274, allocations: 175.1 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.3274, allocations: 25.7 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.3275, allocations: 96.14 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-06/0.3275, allocations: 0 / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.3275, allocations: 9.719 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3276, allocations: 322.8 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.3277, allocations: 11.94 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.3277, allocations: 11.98 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.3277, allocations: 16.84 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3277, allocations: 0 / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001351/0.3279, allocations: 53.7 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3279, allocations: 9.344 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3279, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3279, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.328, allocations: 4 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.328, allocations: 3.938 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.3281, allocations: 19.88 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3281, allocations: 0 / 1.062 GB, free: 1.664 MB / 0.8106 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.0001041/0.3282, allocations: 193.1 kB / 1.063 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.3283, allocations: 109 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.3283, allocations: 108.8 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/0.3284, allocations: 184.2 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.089e-05/0.3284, allocations: 184.2 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.156e-05/0.3285, allocations: 184.2 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.3287, allocations: 421.2 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.603e-05/0.3288, allocations: 105 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.3289, allocations: 104.9 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.307e-05/0.3289, allocations: 180.3 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.329, allocations: 184.2 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.485e-05/0.3291, allocations: 184.2 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.099e-05/0.3291, allocations: 180.2 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.3293, allocations: 311.7 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/0.3294, allocations: 198.2 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.3294, allocations: 180.3 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.3295, allocations: 105 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.3296, allocations: 188.1 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.3297, allocations: 109 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000118/0.3298, allocations: 129.1 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3298, allocations: 4 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002182/0.33, allocations: 4 kB / 1.066 GB, free: 13.97 MB / 0.8262 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.0001764/0.3302, allocations: 178.5 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.635e-05/0.3303, allocations: 7.938 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3303, allocations: 0 / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.3303, allocations: 0 / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.3308, allocations: 0.5316 MB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.3311, allocations: 259.5 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3314, allocations: 0.6887 MB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.3314, allocations: 15.38 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.3314, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of Templates: time 0.002218/0.3337, allocations: 0.7553 MB / 1.068 GB, free: 11.47 MB / 0.8262 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=480 -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