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.00149/0.001491, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.58/2.58, allocations: 390.2 MB / 0.6647 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9474/0.9487, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002309/0.951, allocations: 0.6575 MB / 0.9502 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00018/0.9512, allocations: 10.12 kB / 0.9503 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.9513, allocations: 5.625 kB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.9514, allocations: 0 / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.9515, allocations: 3.938 kB / 0.9503 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.616e-05/0.9516, allocations: 1.562 kB / 0.9503 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.9517, allocations: 28.39 kB / 0.9503 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.9519, allocations: 33.05 kB / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.9519, allocations: 17.05 kB / 0.9503 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.626e-05/0.9519, allocations: 16.23 kB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.952, allocations: 3.125 kB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.952, allocations: 3.188 kB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.952, allocations: 11.3 kB / 0.9504 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.9521, allocations: 20.06 kB / 0.9504 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.757e-05/0.9522, allocations: 50.41 kB / 0.9504 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.9522, allocations: 0 / 0.9504 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9522, allocations: 0 / 0.9504 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9522, allocations: 0 / 0.9504 GB, free: 8.543 MB / 0.7169 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.0003505/0.9525, allocations: 351.8 kB / 0.9508 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.9526, allocations: 9.906 kB / 0.9508 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.9526, allocations: 7.656 kB / 0.9508 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.9528, allocations: 187.4 kB / 0.951 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.9528, allocations: 3.031 kB / 0.951 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.9528, allocations: 7.281 kB / 0.951 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.953, allocations: 75.31 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.953, allocations: 2.188 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.953, allocations: 3.938 kB / 0.9511 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.953, allocations: 6.156 kB / 0.9511 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.9531, allocations: 51.19 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.9535, allocations: 484.8 kB / 0.9516 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.303e-05/0.9536, allocations: 170.3 kB / 0.9517 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.9537, allocations: 80.14 kB / 0.9518 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.9537, allocations: 79.28 kB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.9537, allocations: 107 kB / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9537, allocations: 0 / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.759e-05/0.9538, allocations: 33.3 kB / 0.952 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.9538, allocations: 134.6 kB / 0.9521 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.954, allocations: 178.6 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.954, allocations: 25.7 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.9541, allocations: 94.52 kB / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-06/0.9541, allocations: 1.734 kB / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.9541, allocations: 24.45 kB / 0.9525 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.9542, allocations: 316.2 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.9542, allocations: 8.609 kB / 0.9528 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.9542, allocations: 8.25 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.9542, allocations: 17.72 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9542, allocations: 4.062 kB / 0.9528 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001155/0.9544, allocations: 52.72 kB / 0.9528 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9544, allocations: 6.812 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9544, allocations: 0 / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.9544, allocations: 1.156 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.9545, allocations: 2.375 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.9545, allocations: 3.938 kB / 0.9529 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.9545, allocations: 12.77 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.9545, allocations: 1.25 kB / 0.9529 GB, free: 6.059 MB / 0.7169 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.685e-05/0.9546, allocations: 194.9 kB / 0.9531 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.9547, allocations: 107.5 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.9547, allocations: 116.3 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.9548, allocations: 181.7 kB / 0.9534 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.999e-05/0.9548, allocations: 189.5 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/0.9548, allocations: 185.4 kB / 0.9538 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.955, allocations: 413.6 kB / 0.9542 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/0.955, allocations: 114.2 kB / 0.9543 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.955, allocations: 101 kB / 0.9544 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.83e-05/0.9551, allocations: 177.3 kB / 0.9546 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.9551, allocations: 187 kB / 0.9548 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.872e-05/0.9551, allocations: 181.9 kB / 0.9549 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.244e-05/0.9552, allocations: 188.1 kB / 0.9551 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.527e-05/0.9552, allocations: 309.7 kB / 0.9554 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.9553, allocations: 189.1 kB / 0.9556 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.9553, allocations: 181.4 kB / 0.9558 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.9554, allocations: 111.2 kB / 0.9559 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.9555, allocations: 185.3 kB / 0.956 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.9555, allocations: 109.9 kB / 0.9561 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.288e-05/0.9556, allocations: 132.1 kB / 0.9563 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9556, allocations: 0 / 0.9563 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002409/0.9558, allocations: 4.969 kB / 0.9563 GB, free: 2.43 MB / 0.7169 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.0001628/0.956, allocations: 180.9 kB / 0.9564 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.337e-05/0.9561, allocations: 6.281 kB / 0.9565 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9561, allocations: 0 / 0.9565 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.9561, allocations: 1.312 kB / 0.9565 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.9565, allocations: 464.1 kB / 0.9569 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.9568, allocations: 223.6 kB / 0.9571 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.957, allocations: 0.6927 MB / 0.9578 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.957, allocations: 5.188 kB / 0.9578 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.957, allocations: 12.88 kB / 0.9578 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.957, allocations: 1.219 kB / 0.9578 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of Templates: time 0.002796/0.9598, allocations: 475.4 kB / 0.9583 GB, free: 0.6406 MB / 0.7169 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/jenkins/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