Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001512/0.001512, allocations: 187 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 67.89 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.9285, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001877/0.9304, allocations: 0.651 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.9306, allocations: 14.92 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.9306, allocations: 1 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.9308, allocations: 5.297 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.622e-05/0.9308, allocations: 0.8125 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.925e-05/0.9309, allocations: 2.594 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.545e-05/0.931, allocations: 31.84 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.9312, allocations: 36.19 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.9312, allocations: 10.45 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.9312, allocations: 18.5 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.9313, allocations: 3.156 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.9313, allocations: 2.188 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.9313, allocations: 13.55 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.9314, allocations: 21.02 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.9315, allocations: 48.34 kB / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9315, allocations: 0.6875 kB / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9315, allocations: 0 / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.9315, allocations: 0.8125 kB / 1.09 GB, free: 5 MB / 0.8575 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.0002982/0.9318, allocations: 348.8 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.9319, allocations: 10.05 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.9319, allocations: 10.97 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.932, allocations: 179 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.932, allocations: 6.562 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.9321, allocations: 3.5 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.9322, allocations: 75.27 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9322, allocations: 192 / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.9323, allocations: 5.641 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.9323, allocations: 1 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/0.9324, allocations: 52.73 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.9328, allocations: 496.9 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.432e-05/0.9329, allocations: 171.4 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.9329, allocations: 80.14 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.9329, allocations: 80.72 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.9329, allocations: 106.5 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.933, allocations: 1.281 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.661e-05/0.933, allocations: 33.28 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.9331, allocations: 126.7 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.9332, allocations: 176.9 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.9332, allocations: 26.86 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.9333, allocations: 101.4 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.9333, allocations: 8.812 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.9333, allocations: 12.36 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.9334, allocations: 319.6 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.9334, allocations: 6.703 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.9335, allocations: 6.203 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.9335, allocations: 16.23 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9335, allocations: 5.406 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001153/0.9336, allocations: 52.53 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.9336, allocations: 5.531 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.9336, allocations: 0.6562 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.9337, allocations: 1.094 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.9337, allocations: 2.812 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.9337, allocations: 9.156 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.9338, allocations: 3.328 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.9338, allocations: 2.906 kB / 1.092 GB, free: 2.617 MB / 0.8575 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 7.934e-05/0.9339, allocations: 198.4 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.9339, allocations: 116.9 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.934, allocations: 110.1 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/0.934, allocations: 180.9 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.248e-05/0.934, allocations: 187 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/0.9341, allocations: 182.2 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.9343, allocations: 418 kB / 1.093 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-05/0.9344, allocations: 110.6 kB / 1.093 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.9344, allocations: 106.3 kB / 1.093 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.684e-05/0.9345, allocations: 177.9 kB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.409e-05/0.9346, allocations: 186.4 kB / 1.094 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.637e-05/0.9346, allocations: 182.2 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.135e-05/0.9347, allocations: 186 kB / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.9348, allocations: 306.5 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.9349, allocations: 188 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.935, allocations: 185.8 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.9351, allocations: 112.3 kB / 1.095 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.9352, allocations: 181.9 kB / 1.095 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.9352, allocations: 101.5 kB / 1.095 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001096/0.9354, allocations: 134.8 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8.01e-07/0.9354, allocations: 0 / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002279/0.9356, allocations: 8.75 kB / 1.095 GB, free: 15.02 MB / 0.8731 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.0001836/0.9358, allocations: 185 kB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.063e-05/0.9359, allocations: 9.25 kB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.9359, allocations: 0 / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.9359, allocations: 1.5 kB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.9363, allocations: 461.1 kB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.9367, allocations: 249.5 kB / 1.096 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.937, allocations: 0.6902 MB / 1.097 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.937, allocations: 9.031 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.937, allocations: 0 / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.002427/0.9395, allocations: 0.7669 MB / 1.098 GB, free: 13.42 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches