Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_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_10_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.001421/0.001421, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001628/0.001628, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437 MB / 0.711 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 72.44 kB / 0.8699 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2726, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001971/0.2746, allocations: 0.7139 MB / 1.019 GB, free: 9.977 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008832/0.2755, allocations: 0.8079 MB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.2755, allocations: 0 / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.2756, allocations: 7.938 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.2757, allocations: 3.938 kB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.156e-05/0.2758, allocations: 7.984 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.748e-05/0.2758, allocations: 51.8 kB / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.276, allocations: 11.98 kB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.031e-05/0.276, allocations: 15.98 kB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.2761, allocations: 27.84 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2761, allocations: 4 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.2761, allocations: 4 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.2762, allocations: 7.984 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.2762, allocations: 19.88 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.312e-05/0.2763, allocations: 39.88 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.2763, allocations: 0 / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2763, allocations: 4 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2763, allocations: 0 / 1.02 GB, free: 8.953 MB / 0.795 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.0005128/0.2768, allocations: 363.6 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2769, allocations: 8.922 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.2769, allocations: 8.875 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.277, allocations: 172.2 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.2771, allocations: 4.375 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.2771, allocations: 4.375 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.2773, allocations: 74.14 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2774, allocations: 192 / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2774, allocations: 7.938 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2774, allocations: 4 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.2777, allocations: 63.92 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.278, allocations: 257 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.2783, allocations: 66.41 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.2784, allocations: 36.91 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.2785, allocations: 4 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2785, allocations: 34.56 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.2785, allocations: 0 / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005556/0.2791, allocations: 125.5 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.2791, allocations: 63.39 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.2792, allocations: 105.8 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.2792, allocations: 29.7 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.2793, allocations: 88.12 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.2793, allocations: 7.812 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.2793, allocations: 13.72 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2794, allocations: 318.8 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.2796, allocations: 35.97 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.2798, allocations: 27.97 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.2801, allocations: 68.78 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2801, allocations: 7.875 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003525/0.2804, allocations: 101.9 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2805, allocations: 4 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2805, allocations: 0 / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2805, allocations: 7.969 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2806, allocations: 15.98 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2806, allocations: 0 / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.2807, allocations: 15.98 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2807, allocations: 0 / 1.022 GB, free: 6.625 MB / 0.795 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.171e-05/0.2808, allocations: 117.8 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.2809, allocations: 7.891 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.2812, allocations: 109.5 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2812, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2813, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2813, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.2814, allocations: 169.6 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2814, allocations: 7.938 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.2815, allocations: 23.91 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2816, allocations: 0 / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2816, allocations: 0 / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2816, allocations: 0 / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2816, allocations: 0 / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.282, allocations: 195.4 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.282, allocations: 84.95 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.282, allocations: 4 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2822, allocations: 15.97 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.2822, allocations: 4 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.2822, allocations: 4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.2823, allocations: 87.58 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2823, allocations: 0 / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002307/0.2825, allocations: 8 kB / 1.023 GB, free: 5.699 MB / 0.795 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.0001235/0.2826, allocations: 99.19 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.283, allocations: 71.92 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.283, allocations: 0 / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.2832, allocations: 39.95 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.2835, allocations: 11.88 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.2838, allocations: 155.3 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.2841, allocations: 0.6884 MB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.2841, allocations: 7.438 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of SimCode: time 4.2e-07/0.2841, allocations: 0 / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of Templates: time 0.001984/0.2861, allocations: 0.7507 MB / 1.024 GB, free: 3.82 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches