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.001471/0.00147, allocations: 108 kB / 15.6 MB, free: 132 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.001518/0.001517, allocations: 198.8 kB / 16.54 MB, free: 6.672 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.694/2.694, allocations: 437 MB / 0.7103 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7681, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001982/0.7701, allocations: 0.6899 MB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008906/0.771, allocations: 0.8078 MB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.7711, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.7711, allocations: 7.938 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.567e-05/0.7712, allocations: 3.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.544e-05/0.7713, allocations: 23.91 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.7714, allocations: 39.86 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.7715, allocations: 11.98 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.497e-05/0.7716, allocations: 19.98 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.7716, allocations: 15.92 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.7716, allocations: 4 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.7717, allocations: 8 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.7717, allocations: 15.86 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.7717, allocations: 11.94 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.996e-05/0.7718, allocations: 47.86 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7718, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7718, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.7718, allocations: 3.938 kB / 1.019 GB, free: 0.7344 MB / 0.7637 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.0004851/0.7723, allocations: 365.2 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.7724, allocations: 16.03 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.7724, allocations: 0.9375 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.7725, allocations: 168.3 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.7725, allocations: 384 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.7726, allocations: 8.375 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.7728, allocations: 66.2 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7728, allocations: 192 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.7728, allocations: 3.938 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.7728, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.7732, allocations: 71.86 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.7735, allocations: 261 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.7737, allocations: 70.45 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.7739, allocations: 40.91 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.7739, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.7739, allocations: 30.56 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.7739, allocations: 3.938 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005341/0.7745, allocations: 129.5 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.7745, allocations: 59.39 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.7746, allocations: 109.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.7746, allocations: 25.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.7747, allocations: 92.12 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.7747, allocations: 11.84 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.7747, allocations: 13.72 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.7748, allocations: 318.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.775, allocations: 27.97 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.7751, allocations: 39.95 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.7754, allocations: 68.73 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.7754, allocations: 3.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003203/0.7758, allocations: 105.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.7758, allocations: 8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7758, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.7758, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.7759, allocations: 15.98 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.776, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.776, allocations: 11.92 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.7761, allocations: 4 kB / 1.021 GB, free: 14.4 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 6.552e-05/0.7761, allocations: 113.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.7762, allocations: 7.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.7765, allocations: 109.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7766, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7766, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7766, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.7767, allocations: 173.5 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7767, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.7768, allocations: 23.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7769, allocations: 4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.7769, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7769, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7769, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.7772, allocations: 195.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.7773, allocations: 77.16 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.7773, allocations: 11.97 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.7774, allocations: 11.98 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.7775, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.7775, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.7775, allocations: 91.27 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7775, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002198/0.7778, allocations: 4 kB / 1.022 GB, free: 13.48 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.0001121/0.7779, allocations: 105.1 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.7782, allocations: 71.86 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7782, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.7784, allocations: 39.95 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.7787, allocations: 11.94 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.779, allocations: 129.5 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.7792, allocations: 0.6806 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.7793, allocations: 8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.7793, allocations: 11.38 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7793, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of Templates: time 0.002583/0.7819, allocations: 0.6678 MB / 1.023 GB, free: 11.71 MB / 0.7794 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/jenkins/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