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.001146/0.001146, allocations: 108.4 kB / 16.41 MB, free: 6.465 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.001184/0.001184, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.654/2.654, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 63.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001723/1.033, allocations: 0.6517 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/1.033, allocations: 11.94 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/1.033, allocations: 0 / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.854e-05/1.033, allocations: 3.938 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/1.033, allocations: 0 / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.747e-05/1.033, allocations: 15.94 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.194e-05/1.033, allocations: 27.97 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/1.033, allocations: 35.97 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/1.033, allocations: 11.94 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.033e-05/1.033, allocations: 15.88 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/1.033, allocations: 4 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/1.033, allocations: 4 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/1.033, allocations: 11.92 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/1.033, allocations: 23.88 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.077e-05/1.034, allocations: 39.86 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/1.034, allocations: 3.938 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/1.034, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.07e-06/1.034, allocations: 4 kB / 1.209 GB, free: 12.72 MB / 0.9356 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.0003125/1.034, allocations: 351.3 kB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/1.034, allocations: 8.031 kB / 1.21 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/1.034, allocations: 8.844 kB / 1.21 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/1.034, allocations: 180.3 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-06/1.034, allocations: 384 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/1.034, allocations: 12.31 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/1.034, allocations: 74.23 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/1.034, allocations: 192 / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/1.034, allocations: 7.938 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.034, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/1.034, allocations: 51.95 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/1.035, allocations: 496.8 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.061e-05/1.035, allocations: 165.1 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/1.035, allocations: 88.08 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/1.035, allocations: 75.28 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/1.035, allocations: 113.8 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.035, allocations: 4 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.521e-05/1.035, allocations: 29.69 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/1.035, allocations: 126.7 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/1.035, allocations: 179.7 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/1.035, allocations: 29.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/1.036, allocations: 96.12 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/1.036, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/1.036, allocations: 17.72 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.036, allocations: 310.8 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/1.036, allocations: 11.98 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.299e-05/1.036, allocations: 8 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/1.036, allocations: 24.84 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.036, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/1.036, allocations: 49.59 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.036, allocations: 8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.036, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.036, allocations: 3.984 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/1.036, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.036, allocations: 3.938 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/1.036, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/1.036, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 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.26e-05/1.036, allocations: 197.1 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/1.036, allocations: 116.9 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/1.036, allocations: 108.9 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-05/1.036, allocations: 188.2 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.282e-05/1.036, allocations: 180.2 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.681e-05/1.037, allocations: 180.3 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/1.037, allocations: 421.2 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/1.037, allocations: 104.9 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/1.037, allocations: 112.9 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.926e-05/1.037, allocations: 180.3 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/1.037, allocations: 176.3 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.055e-05/1.037, allocations: 184.2 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-05/1.037, allocations: 184.2 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/1.037, allocations: 311.7 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/1.037, allocations: 182.1 kB / 1.214 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/1.037, allocations: 184.2 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/1.038, allocations: 113 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/1.038, allocations: 188.1 kB / 1.215 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/1.038, allocations: 104.9 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001068/1.038, allocations: 137.3 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.038, allocations: 0 / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002172/1.038, allocations: 4 kB / 1.215 GB, free: 6.301 MB / 0.9356 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.0001629/1.038, allocations: 178.5 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.247e-05/1.038, allocations: 16.27 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.038, allocations: 0 / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/1.038, allocations: 0 / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/1.039, allocations: 467.7 kB / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/1.039, allocations: 241.9 kB / 1.216 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/1.039, allocations: 0.6924 MB / 1.217 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/1.039, allocations: 11.44 kB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/1.039, allocations: 0 / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of Templates: time 0.001862/1.041, allocations: 0.7691 MB / 1.217 GB, free: 3.871 MB / 0.9356 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