Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_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_10_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.001089/0.001089, allocations: 88.2 kB / 16.03 MB, free: 56 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.001096/0.001096, allocations: 187.7 kB / 16.93 MB, free: 6.688 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.735/2.735, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004308, allocations: 12 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7392, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.0008587/0.7401, allocations: 446.2 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009105/0.741, allocations: 0.8001 MB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.7411, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.7411, allocations: 3.938 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.7412, allocations: 11.94 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.58e-05/0.7413, allocations: 7.984 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.677e-05/0.7414, allocations: 39.86 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.7415, allocations: 11.98 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.615e-05/0.7416, allocations: 15.98 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.7416, allocations: 19.91 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.7417, allocations: 7.938 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.7417, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.7417, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.7417, allocations: 41.62 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.182e-05/0.7418, allocations: 31.94 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7418, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7418, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.7418, allocations: 3.938 kB / 1.025 GB, free: 14.41 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.0005558/0.7424, allocations: 373.3 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.7424, allocations: 8.031 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.7425, allocations: 4.844 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.7426, allocations: 176.3 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.7426, allocations: 384 / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.7426, allocations: 4.375 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.7429, allocations: 82.22 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.7429, allocations: 192 / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.743, allocations: 3.938 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.743, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.7433, allocations: 87.92 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.7437, allocations: 264.9 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.7439, allocations: 66.48 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.7441, allocations: 56.91 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.7441, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.7442, allocations: 34.56 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.7442, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006156/0.7448, allocations: 169.5 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7449, allocations: 51.41 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.7449, allocations: 109.8 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.745, allocations: 25.7 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.745, allocations: 88.05 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.745, allocations: 11.84 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.7451, allocations: 13.72 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7452, allocations: 318.8 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.7454, allocations: 39.97 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.7455, allocations: 47.95 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.7459, allocations: 88.73 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7459, allocations: 3.938 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003703/0.7463, allocations: 121.6 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7463, allocations: 8 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7463, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7464, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.7465, allocations: 19.98 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.7465, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.015e-05/0.7466, allocations: 23.83 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.7466, allocations: 0 / 1.027 GB, free: 11.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.112e-05/0.7467, allocations: 121.8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.7467, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.7471, allocations: 137.8 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.7472, allocations: 4 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7472, allocations: 0 / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7472, allocations: 0 / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.7474, allocations: 169.6 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7474, allocations: 0 / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.7475, allocations: 23.97 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.7475, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.7475, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7475, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7475, allocations: 8 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.748, allocations: 223.3 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.7481, allocations: 85.09 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.7481, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.7482, allocations: 15.98 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.7483, allocations: 0 / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.7483, allocations: 8 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.7483, allocations: 87.27 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7483, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002245/0.7486, allocations: 8 kB / 1.028 GB, free: 10.95 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 (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.0001615/0.7487, allocations: 104.7 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.7491, allocations: 91.92 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7491, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.7493, allocations: 55.89 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.7496, allocations: 11.94 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.7499, allocations: 170.1 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.7502, allocations: 0.6848 MB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.7502, allocations: 7.438 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.7502, allocations: 0 / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.002249/0.7525, allocations: 0.724 MB / 1.03 GB, free: 9.055 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches