Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 107.4 kB / 16.36 MB, free: 6.285 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.001614/0.001615, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.508/2.508, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 68.28 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3482, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002271/0.3505, allocations: 0.7769 MB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3519, allocations: 0.8701 MB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.352, allocations: 0 / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.352, allocations: 11.81 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.497e-05/0.3521, allocations: 7.938 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.3524, allocations: 47.88 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3525, allocations: 83.8 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.3527, allocations: 27.91 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3528, allocations: 39.84 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3529, allocations: 51.81 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.353, allocations: 8 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.353, allocations: 8 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.3531, allocations: 23.92 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.3531, allocations: 31.8 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3533, allocations: 83.72 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3533, allocations: 0 / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3533, allocations: 0 / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3533, allocations: 4 kB / 1.021 GB, free: 7.754 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006936/0.354, allocations: 391.2 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3541, allocations: 12.92 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.3541, allocations: 12.78 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.3543, allocations: 180.2 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3543, allocations: 8.375 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3544, allocations: 8.375 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.3547, allocations: 106.5 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3547, allocations: 4 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3547, allocations: 8 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3547, allocations: 0 / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.3551, allocations: 99.83 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.3557, allocations: 336.7 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.3563, allocations: 126.5 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.3565, allocations: 58.34 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3565, allocations: 3.984 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3566, allocations: 38.55 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3566, allocations: 4 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006483/0.3572, allocations: 173.5 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.3573, allocations: 55.41 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.3574, allocations: 129.7 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3574, allocations: 33.7 kB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.3575, allocations: 88.05 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.3575, allocations: 23.73 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3575, allocations: 25.7 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3577, allocations: 318.8 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.3578, allocations: 43.95 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.358, allocations: 47.95 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.3583, allocations: 105.2 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3583, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003752/0.3587, allocations: 133.5 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3587, allocations: 11.98 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3588, allocations: 0 / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3588, allocations: 0 / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.359, allocations: 31.91 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.359, allocations: 0 / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3591, allocations: 15.92 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3591, allocations: 4 kB / 1.023 GB, free: 4.949 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.209e-05/0.3592, allocations: 113.8 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.3592, allocations: 7.906 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.3597, allocations: 153.9 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3597, allocations: 0 / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3597, allocations: 3.938 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3597, allocations: 7.938 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3599, allocations: 205.5 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3599, allocations: 0 / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3601, allocations: 27.97 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3601, allocations: 0 / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3601, allocations: 0 / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3601, allocations: 0 / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3601, allocations: 0 / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.3606, allocations: 243.3 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.3606, allocations: 81.02 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.3606, allocations: 7.984 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3608, allocations: 11.98 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.3609, allocations: 23.92 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3609, allocations: 11.92 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.361, allocations: 95.7 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.361, allocations: 0 / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002367/0.3612, allocations: 16 kB / 1.024 GB, free: 3.859 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001331/0.3613, allocations: 99.25 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004031/0.3617, allocations: 111.9 kB / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3618, allocations: 3.938 kB / 1.024 GB, free: 3.641 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.362, allocations: 63.88 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.3622, allocations: 8.328 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.3627, allocations: 170.2 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3629, allocations: 0.6924 MB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.89e-05/0.363, allocations: 12 kB / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.3631, allocations: 23.42 kB / 1.025 GB, free: 2.617 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.3631, allocations: 0 / 1.025 GB, free: 2.617 MB / 0.795 GB Notification: Performance of Templates: time 0.003952/0.367, allocations: 1.572 MB / 1.027 GB, free: 1.059 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches