Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 88.77 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.001011/0.001011, allocations: 186.5 kB / 16.92 MB, free: 6.688 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.77/2.77, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004102, allocations: 12.41 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3229, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.0009996/0.324, allocations: 432.5 kB / 1.06 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3251, allocations: 0.8117 MB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.3252, allocations: 4 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.3252, allocations: 0 / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.79e-05/0.3253, allocations: 7.938 kB / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.816e-05/0.3254, allocations: 7.984 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.3255, allocations: 39.91 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3256, allocations: 8 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.056e-05/0.3257, allocations: 19.92 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.3258, allocations: 19.92 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3258, allocations: 4 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.3258, allocations: 0 / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.3258, allocations: 11.91 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.3259, allocations: 41.58 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.132e-05/0.326, allocations: 31.94 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.326, allocations: 0 / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.984e-06/0.326, allocations: 0 / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.326, allocations: 0 / 1.061 GB, free: 3.469 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005297/0.3265, allocations: 367.6 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3266, allocations: 19.95 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3266, allocations: 0.9375 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3268, allocations: 172.2 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3268, allocations: 384 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.3268, allocations: 8.312 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.3271, allocations: 78.22 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.3271, allocations: 192 / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3271, allocations: 7.938 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3272, allocations: 0 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.3275, allocations: 91.86 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.3279, allocations: 265 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3281, allocations: 70.47 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3283, allocations: 48.92 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3283, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3283, allocations: 38.56 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3283, allocations: 3.938 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005878/0.3289, allocations: 169.5 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.329, allocations: 51.41 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.3291, allocations: 113.8 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3291, allocations: 33.64 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.3291, allocations: 80.14 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3292, allocations: 19.89 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.3292, allocations: 9.719 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.3293, allocations: 310.8 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.3295, allocations: 43.95 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.3296, allocations: 43.97 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.3299, allocations: 92.72 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3299, allocations: 3.938 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003565/0.3303, allocations: 121.5 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3303, allocations: 8.938 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3303, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3304, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3305, allocations: 31.97 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3305, allocations: 0 / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/0.3306, allocations: 15.98 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3306, allocations: 0 / 1.063 GB, free: 0.9688 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 (3): * Single equations (assignments): 3 * 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 7.717e-05/0.3307, allocations: 109.8 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3307, allocations: 8 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.3312, allocations: 133.5 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3312, allocations: 0 / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3312, allocations: 0 / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3312, allocations: 0 / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3314, allocations: 173.6 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3314, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3315, allocations: 19.98 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3315, allocations: 4 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3315, allocations: 3.938 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3315, allocations: 0 / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3315, allocations: 0 / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.3319, allocations: 227.2 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.332, allocations: 85.05 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.332, allocations: 0 / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3321, allocations: 19.98 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.3322, allocations: 3.984 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3322, allocations: 4 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.3322, allocations: 87.22 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3323, allocations: 0 / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002486/0.3325, allocations: 8.047 kB / 1.064 GB, free: 15.99 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 (3): * Single equations (assignments): 3 * 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.0001632/0.3327, allocations: 103.2 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.3331, allocations: 92.34 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.3331, allocations: 4 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.3332, allocations: 43.91 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3336, allocations: 13.3 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.3339, allocations: 170.4 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3341, allocations: 0.6809 MB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.3342, allocations: 7.438 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3342, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.002148/0.3363, allocations: 0.7361 MB / 1.066 GB, free: 14.09 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches