Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001216/0.001216, allocations: 105.3 kB / 16.41 MB, free: 6.414 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.001269/0.001269, allocations: 191.6 kB / 17.34 MB, free: 5.691 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.231/2.231, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.14 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7802/0.7815, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001711/0.7833, allocations: 0.6501 MB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000131/0.7834, allocations: 7.938 kB / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.7835, allocations: 0 / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.43e-05/0.7836, allocations: 4 kB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.436e-05/0.7836, allocations: 7.922 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.113e-05/0.7837, allocations: 3.938 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.913e-05/0.7838, allocations: 23.98 kB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.7839, allocations: 31.98 kB / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.584e-05/0.7839, allocations: 23.92 kB / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.873e-05/0.784, allocations: 15.92 kB / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.784, allocations: 0 / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.784, allocations: 4 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.784, allocations: 11.94 kB / 1.168 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.7841, allocations: 15.88 kB / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.41e-05/0.7842, allocations: 55.31 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7842, allocations: 3.938 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7842, allocations: 0 / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.7842, allocations: 0 / 1.168 GB, free: 2.941 MB / 0.8887 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.0003379/0.7845, allocations: 356.3 kB / 1.169 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.7846, allocations: 12.03 kB / 1.169 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.7846, allocations: 8.891 kB / 1.169 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.7848, allocations: 172.3 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.7848, allocations: 8.375 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.7848, allocations: 4.375 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.7849, allocations: 82.09 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.785, allocations: 192 / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.785, allocations: 7.938 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.785, allocations: 4 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.7851, allocations: 47.97 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.7855, allocations: 491.1 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.7856, allocations: 169.1 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.7856, allocations: 84.14 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.7857, allocations: 79.28 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.7857, allocations: 109.8 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.7857, allocations: 3.938 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 6.569e-05/0.7858, allocations: 33.66 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.7858, allocations: 126.7 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.786, allocations: 176.2 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.786, allocations: 25.7 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.7861, allocations: 104.1 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.7861, allocations: 0 / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.7861, allocations: 9.719 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.7862, allocations: 322.8 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.7863, allocations: 4 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.7863, allocations: 11.98 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.7863, allocations: 12.8 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.7863, allocations: 64 / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.7864, allocations: 61.62 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.7865, allocations: 4 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.7865, allocations: 0 / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.7865, allocations: 4 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.488e-05/0.7865, allocations: 0 / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.7865, allocations: 3.938 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.7866, allocations: 4 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.7866, allocations: 4 kB / 1.171 GB, free: 224 kB / 0.8887 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.29e-05/0.7867, allocations: 197.1 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.7868, allocations: 119.3 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.7868, allocations: 112.8 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-05/0.7869, allocations: 180.3 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.957e-05/0.7869, allocations: 184.1 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.119e-05/0.787, allocations: 184.2 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.7872, allocations: 429.2 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/0.7873, allocations: 104.9 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.7873, allocations: 101 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-05/0.7874, allocations: 184.2 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/0.7875, allocations: 176.3 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-05/0.7875, allocations: 184.2 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.428e-05/0.7876, allocations: 188.2 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.7878, allocations: 311.7 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.7879, allocations: 190 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.531e-05/0.788, allocations: 184.2 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.788, allocations: 109 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.7881, allocations: 188.1 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.7882, allocations: 101 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001006/0.7883, allocations: 134 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7883, allocations: 0 / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002211/0.7885, allocations: 4 kB / 1.174 GB, free: 12.5 MB / 0.9044 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.0001908/0.7887, allocations: 178.5 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.799e-05/0.7888, allocations: 16.33 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7888, allocations: 4 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.7888, allocations: 3.938 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.7893, allocations: 459.7 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.7897, allocations: 245.9 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.79, allocations: 0.6924 MB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.79, allocations: 15.44 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.79, allocations: 0 / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.002386/0.7924, allocations: 0.7548 MB / 1.176 GB, free: 10.08 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches