Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001377/0.001377, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 12 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8417/0.842, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.0008928/0.843, allocations: 422.2 kB / 1.021 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.8439, allocations: 0.804 MB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.8439, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.8439, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.844, allocations: 11.97 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.817e-05/0.8441, allocations: 12 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.607e-05/0.8442, allocations: 27.91 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.8443, allocations: 7.984 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.8444, allocations: 15.97 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.8444, allocations: 15.92 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.8444, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.8444, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.8445, allocations: 7.938 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.8445, allocations: 33.7 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.342e-05/0.8446, allocations: 27.92 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.8446, allocations: 7.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8446, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.8446, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 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.000521/0.8451, allocations: 366.9 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.8452, allocations: 15.98 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.8452, allocations: 3.906 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.8453, allocations: 163.1 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.8454, allocations: 0 / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.8454, allocations: 4 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.8457, allocations: 89.53 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8457, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.8457, allocations: 3.984 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.8457, allocations: 4 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.846, allocations: 83.92 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.8464, allocations: 280.8 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.8466, allocations: 66.48 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.8467, allocations: 0 / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.8467, allocations: 34.56 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.8467, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005843/0.8473, allocations: 165.7 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.8473, allocations: 51.41 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.8474, allocations: 105.8 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.8475, allocations: 33.58 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.8475, allocations: 88.14 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.8475, allocations: 19.73 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.8476, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.8477, allocations: 314.8 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.8478, allocations: 39.97 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.848, allocations: 47.95 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.8481, allocations: 43.97 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8481, allocations: 0 / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003223/0.8485, allocations: 125.6 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.8485, allocations: 4 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.8485, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.8485, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.8487, allocations: 19.98 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.8487, allocations: 3.938 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.543e-05/0.8488, allocations: 19.98 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.8488, allocations: 3.938 kB / 1.024 GB, free: 13.34 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/0.8489, allocations: 113.8 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.8489, allocations: 11.84 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.8493, allocations: 129.5 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.8493, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8493, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8493, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.8495, allocations: 165.7 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8495, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.917e-05/0.8496, allocations: 23.97 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/0.8496, allocations: 3.953 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.8497, allocations: 4 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.8497, allocations: 4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8497, allocations: 3.938 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.8501, allocations: 211.9 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.8501, allocations: 85.05 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.8501, allocations: 3.953 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.8503, allocations: 19.97 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.8503, allocations: 8 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.8503, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.8504, allocations: 91.58 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8504, allocations: 0 / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002115/0.8506, allocations: 8 kB / 1.025 GB, free: 12.37 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001582/0.8508, allocations: 95.25 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003348/0.8511, allocations: 95.86 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8511, allocations: 0 / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.8513, allocations: 55.89 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.8515, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.8518, allocations: 139.6 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.8521, allocations: 0.6887 MB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.8521, allocations: 0 / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.8522, allocations: 11.44 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8522, allocations: 0 / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.002421/0.8546, allocations: 0.5181 MB / 1.027 GB, free: 10.71 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches