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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001482/0.001482, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001648/0.001648, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.81 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3503, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001881/0.3522, allocations: 0.7106 MB / 1.053 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001528/0.3524, allocations: 11.94 kB / 1.053 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.3524, allocations: 0 / 1.053 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3526, allocations: 0 / 1.053 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.3526, allocations: 0 / 1.053 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.556e-05/0.3527, allocations: 12 kB / 1.053 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.3528, allocations: 23.92 kB / 1.053 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.353, allocations: 35.97 kB / 1.053 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.806e-05/0.353, allocations: 11.92 kB / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.821e-05/0.353, allocations: 11.94 kB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.353, allocations: 0 / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.3531, allocations: 4 kB / 1.053 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.3531, allocations: 11.94 kB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.3531, allocations: 19.86 kB / 1.053 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.93e-05/0.3532, allocations: 51.8 kB / 1.053 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3533, allocations: 0 / 1.053 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.31e-07/0.3533, allocations: 7.938 kB / 1.053 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3533, allocations: 0 / 1.053 GB, free: 7.914 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.0004063/0.3537, allocations: 352.8 kB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3537, allocations: 8.031 kB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.3538, allocations: 8.844 kB / 1.053 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.3539, allocations: 180.3 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.354, allocations: 384 / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.354, allocations: 4.375 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3542, allocations: 78.22 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3542, allocations: 4.188 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3542, allocations: 7.938 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3542, allocations: 0 / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.717e-05/0.3543, allocations: 47.97 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.3549, allocations: 487 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.3551, allocations: 177.1 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.3551, allocations: 88.14 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.3552, allocations: 75.28 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.195e-05/0.3552, allocations: 109.9 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.3553, allocations: 0 / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.818e-05/0.3554, allocations: 33.61 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.3554, allocations: 126.7 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3556, allocations: 183.1 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.3556, allocations: 25.7 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/0.3557, allocations: 96.05 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-06/0.3557, allocations: 3.938 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.3558, allocations: 13.72 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3559, allocations: 318.8 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.356, allocations: 7.984 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.356, allocations: 8 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.356, allocations: 20.91 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.356, allocations: 0 / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001271/0.3562, allocations: 49.59 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3562, allocations: 4 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3562, allocations: 4 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3562, allocations: 0 / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/0.3563, allocations: 0 / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3563, allocations: 7.875 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.3563, allocations: 11.92 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3563, allocations: 8.031 kB / 1.055 GB, free: 5.188 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.0001215/0.3565, allocations: 190.7 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.3566, allocations: 116.8 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.197e-05/0.3566, allocations: 112.9 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.21e-05/0.3567, allocations: 180.2 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.831e-05/0.3568, allocations: 188.2 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.209e-05/0.3569, allocations: 188.2 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.3572, allocations: 417.2 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-05/0.3572, allocations: 101.1 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.3573, allocations: 108.9 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.266e-05/0.3573, allocations: 180.3 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/0.3574, allocations: 188.2 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.526e-05/0.3575, allocations: 180.5 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.444e-05/0.3576, allocations: 184.1 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.3577, allocations: 307.9 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.3578, allocations: 201.9 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.959e-05/0.3579, allocations: 176.3 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.358, allocations: 104.9 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3582, allocations: 184.2 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.3582, allocations: 105 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001015/0.3583, allocations: 129.3 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3583, allocations: 0 / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002478/0.3586, allocations: 8 kB / 1.059 GB, free: 1.492 MB / 0.8106 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.0002258/0.3588, allocations: 182.5 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.325e-05/0.3589, allocations: 8 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3589, allocations: 4 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.3589, allocations: 0 / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.3595, allocations: 0.5264 MB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.3599, allocations: 225.8 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3602, allocations: 0.6965 MB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.3602, allocations: 4 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.3603, allocations: 15.44 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3603, allocations: 0 / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.002507/0.3628, allocations: 459.1 kB / 1.061 GB, free: 15.32 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/jenkins/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