Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, 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.001696/0.001696, allocations: 187.7 kB / 16.13 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.496 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.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 75.88 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.837/0.8383, allocations: 140.4 MB / 0.9489 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002336/0.8407, allocations: 0.7599 MB / 0.9497 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.8417, allocations: 0.8011 MB / 0.9505 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.8418, allocations: 1.438 kB / 0.9505 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.474e-05/0.8418, allocations: 7.922 kB / 0.9505 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.842, allocations: 9.125 kB / 0.9505 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.8421, allocations: 14.14 kB / 0.9505 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.582e-05/0.8422, allocations: 36.67 kB / 0.9505 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.8424, allocations: 8.625 kB / 0.9505 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.8425, allocations: 18.33 kB / 0.9506 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.8425, allocations: 24.36 kB / 0.9506 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.8426, allocations: 2.594 kB / 0.9506 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.76e-05/0.8426, allocations: 3.156 kB / 0.9506 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.8426, allocations: 7.938 kB / 0.9506 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.8427, allocations: 15.58 kB / 0.9506 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.8428, allocations: 34.78 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8428, allocations: 1.312 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8428, allocations: 0 / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.8428, allocations: 0 / 0.9506 GB, free: 7.969 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005524/0.8434, allocations: 369.1 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.8434, allocations: 10.03 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.8435, allocations: 6.125 kB / 0.951 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.8436, allocations: 171 kB / 0.9512 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.8436, allocations: 1.469 kB / 0.9512 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.8436, allocations: 6.844 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.8439, allocations: 66.41 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8439, allocations: 1.438 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.8439, allocations: 7.938 kB / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.8439, allocations: 5.406 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.8442, allocations: 66.08 kB / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.8445, allocations: 271.5 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.8447, allocations: 61.36 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.8449, allocations: 38.53 kB / 0.9517 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.8449, allocations: 1.375 kB / 0.9517 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.8449, allocations: 30.56 kB / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.845, allocations: 1.375 kB / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005312/0.8455, allocations: 137.8 kB / 0.9518 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.8455, allocations: 51.41 kB / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.8456, allocations: 107.5 kB / 0.952 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.8457, allocations: 31.08 kB / 0.952 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.8457, allocations: 81.52 kB / 0.9521 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.8457, allocations: 13.22 kB / 0.9521 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.8458, allocations: 20.45 kB / 0.9521 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.8459, allocations: 316.2 kB / 0.9524 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.846, allocations: 25.84 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.8461, allocations: 32.45 kB / 0.9525 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.8464, allocations: 72.03 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.8464, allocations: 7.875 kB / 0.9526 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002801/0.8467, allocations: 106.6 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8467, allocations: 4 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8467, allocations: 1.156 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.8468, allocations: 4 kB / 0.9527 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.8469, allocations: 14.8 kB / 0.9527 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.8469, allocations: 0 / 0.9527 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.847, allocations: 15.69 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.847, allocations: 0 / 0.9527 GB, free: 5.988 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 (3): * Single equations (assignments): 3 * 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 6.315e-05/0.8471, allocations: 113.1 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.8471, allocations: 4.969 kB / 0.9528 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.8475, allocations: 109.1 kB / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.8475, allocations: 0 / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.8475, allocations: 1.312 kB / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8475, allocations: 0 / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.8477, allocations: 173.2 kB / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.8477, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.401e-05/0.8478, allocations: 22.83 kB / 0.9531 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8478, allocations: 0 / 0.9531 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.8478, allocations: 5.406 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8478, allocations: 0 / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8478, allocations: 0 / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.8482, allocations: 208.6 kB / 0.9533 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.8482, allocations: 78.45 kB / 0.9534 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.8482, allocations: 1.625 kB / 0.9534 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.8483, allocations: 13.45 kB / 0.9534 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.8484, allocations: 10.33 kB / 0.9534 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.8484, allocations: 1.156 kB / 0.9534 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.8485, allocations: 80.88 kB / 0.9535 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8485, allocations: 1.531 kB / 0.9535 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000223/0.8487, allocations: 9.281 kB / 0.9535 GB, free: 5.195 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 (3): * Single equations (assignments): 3 * 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.0002247/0.8489, allocations: 107 kB / 0.9536 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003828/0.8493, allocations: 65.39 kB / 0.9537 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8493, allocations: 0 / 0.9537 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.8495, allocations: 41.12 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.8499, allocations: 8.438 kB / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.8504, allocations: 136.8 kB / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.8507, allocations: 0.6846 MB / 0.9545 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.8507, allocations: 5.5 kB / 0.9545 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.8508, allocations: 9.125 kB / 0.9545 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8508, allocations: 0 / 0.9545 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of Templates: time 0.003505/0.8543, allocations: 0.5468 MB / 0.9551 GB, free: 3.914 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches