Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, 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.001673/0.001673, allocations: 191.5 kB / 16.14 MB, free: 6.645 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 76.38 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3256, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001963/0.3276, allocations: 0.705 MB / 1.053 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.3278, allocations: 15.92 kB / 1.053 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.3278, allocations: 4 kB / 1.053 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.328, allocations: 3.984 kB / 1.053 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.328, allocations: 4 kB / 1.053 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.075e-05/0.3281, allocations: 0 / 1.053 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3282, allocations: 43.91 kB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3284, allocations: 20 kB / 1.053 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.3284, allocations: 15.92 kB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.3284, allocations: 11.94 kB / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3284, allocations: 4 kB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.3285, allocations: 0 / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.3285, allocations: 23.91 kB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.3285, allocations: 15.88 kB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.735e-05/0.3286, allocations: 43.88 kB / 1.053 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3286, allocations: 3.938 kB / 1.053 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3286, allocations: 4 kB / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3287, allocations: 0 / 1.053 GB, free: 7.902 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.0003649/0.329, allocations: 347.6 kB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3291, allocations: 12.03 kB / 1.053 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.3291, allocations: 4.844 kB / 1.053 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3293, allocations: 180.3 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3293, allocations: 16.38 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3293, allocations: 4.375 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.3295, allocations: 74.22 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.3295, allocations: 192 / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3295, allocations: 7.938 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3295, allocations: 4 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.118e-05/0.3296, allocations: 43.97 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.3301, allocations: 499 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.22e-05/0.3301, allocations: 173 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.3302, allocations: 80.14 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3302, allocations: 79.28 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.3303, allocations: 113.9 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3303, allocations: 4 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.614e-05/0.3303, allocations: 33.61 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.3304, allocations: 126.7 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3306, allocations: 180.3 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.3306, allocations: 25.7 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.3306, allocations: 96.05 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.3307, allocations: 0 / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.3307, allocations: 17.7 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.3308, allocations: 322.8 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.3308, allocations: 7.984 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.3308, allocations: 4 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.3309, allocations: 16.84 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3309, allocations: 0 / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001153/0.331, allocations: 53.59 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.331, allocations: 4 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.331, allocations: 0 / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.331, allocations: 8.031 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.3311, allocations: 4 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3311, allocations: 3.938 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.3311, allocations: 11.92 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3312, allocations: 0 / 1.055 GB, free: 5.168 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 9.004e-05/0.3313, allocations: 193.1 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.3313, allocations: 112.9 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.3314, allocations: 116.8 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-05/0.3314, allocations: 180.3 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.475e-05/0.3315, allocations: 180.2 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.224e-05/0.3316, allocations: 184.2 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.3318, allocations: 421.3 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/0.3318, allocations: 108.9 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.3319, allocations: 105 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.96e-05/0.3319, allocations: 180.2 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.163e-05/0.332, allocations: 188.2 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.962e-05/0.3321, allocations: 176.5 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.834e-05/0.3321, allocations: 184.1 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.3322, allocations: 311.9 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.3323, allocations: 193.9 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.3324, allocations: 188.3 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.3325, allocations: 104.9 kB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.3326, allocations: 188.1 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.3326, allocations: 109 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001032/0.3327, allocations: 133.6 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3327, allocations: 3.938 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002162/0.3329, allocations: 4 kB / 1.059 GB, free: 1.457 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.0001716/0.3331, allocations: 174.5 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.689e-05/0.3332, allocations: 4 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3332, allocations: 4.062 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3332, allocations: 0 / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.3337, allocations: 0.5263 MB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.334, allocations: 237.7 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3342, allocations: 0.6887 MB / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.3343, allocations: 7.938 kB / 1.06 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.3343, allocations: 11.44 kB / 1.06 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3343, allocations: 0 / 1.06 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of Templates: time 0.002469/0.3368, allocations: 456.4 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches