Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 99.86 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.0009963/0.0009965, 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.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 436.5 MB / 0.7104 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 15.98 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.809/0.8093, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001027/0.8104, allocations: 430.2 kB / 1.021 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000982/0.8114, allocations: 0.7924 MB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.8115, allocations: 3.938 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.8115, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.515e-05/0.8116, allocations: 11.98 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.8117, allocations: 7.984 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.8118, allocations: 31.91 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.8119, allocations: 7.984 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.812, allocations: 11.98 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.8121, allocations: 23.91 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.8121, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.8121, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.8121, allocations: 3.938 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.8122, allocations: 29.7 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.438e-05/0.8123, allocations: 23.94 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8123, allocations: 7.938 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8123, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8123, 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.0005975/0.8129, allocations: 369.2 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.813, allocations: 15.98 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.813, allocations: 7.906 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.8132, allocations: 167 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.8132, allocations: 8 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.8132, allocations: 0 / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.8135, allocations: 93.53 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.8135, allocations: 0 / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.8135, allocations: 0 / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.8136, allocations: 0 / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.8139, allocations: 87.92 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.8143, allocations: 260.8 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.8145, allocations: 74.47 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.8146, allocations: 0 / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.8146, allocations: 34.56 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.8146, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006201/0.8152, allocations: 161.7 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.8153, allocations: 51.41 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.8154, allocations: 113.8 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.8154, allocations: 25.7 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.8155, allocations: 84.14 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.8155, allocations: 15.69 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.8156, allocations: 8 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8157, allocations: 314.8 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.8159, allocations: 39.97 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.816, allocations: 43.95 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.8162, allocations: 39.97 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.8162, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003264/0.8165, allocations: 125.6 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8166, allocations: 4 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8166, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.8166, allocations: 7.984 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.8167, allocations: 19.98 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.8168, allocations: 7.938 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.8169, allocations: 15.98 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.8169, allocations: 4 kB / 1.024 GB, free: 13.35 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 9.754e-05/0.817, allocations: 109.8 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.817, allocations: 11.86 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.8174, allocations: 125.5 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.8174, allocations: 3.984 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8174, allocations: 8.312 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8174, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.8176, allocations: 165.7 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8176, allocations: 4 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/0.8177, allocations: 23.98 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.8177, allocations: 7.938 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.8177, allocations: 0 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8177, allocations: 3.984 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8178, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.8181, allocations: 219.4 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.8182, allocations: 81.02 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.8182, allocations: 7.953 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.8183, allocations: 19.97 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.8184, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.8184, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.8184, allocations: 91.27 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8185, allocations: 0 / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002083/0.8187, 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.0001596/0.8188, allocations: 103.2 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.8192, allocations: 91.86 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8192, allocations: 0 / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.8194, allocations: 51.95 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.8196, allocations: 5.562 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.8199, allocations: 132.6 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.8202, allocations: 0.6848 MB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.8202, allocations: 8 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.8202, allocations: 7.438 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8202, allocations: 0 / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.002629/0.8229, allocations: 0.5177 MB / 1.027 GB, free: 10.72 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches