Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001454/0.001455, allocations: 109.4 kB / 15.99 MB, free: 6.344 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.001471/0.001471, allocations: 196.2 kB / 16.91 MB, free: 6.176 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.592/2.592, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 72.98 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.294, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001911/0.2959, allocations: 0.7628 MB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.2968, allocations: 0.8118 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.2969, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.2969, allocations: 3.938 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.297, allocations: 11.88 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.881e-05/0.2971, allocations: 15.98 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.2972, allocations: 39.86 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.112e-05/0.2973, allocations: 8 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.2973, allocations: 19.92 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.2974, allocations: 23.89 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2974, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.2974, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.2975, allocations: 12 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.2975, allocations: 19.86 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.64e-05/0.2976, allocations: 27.95 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2976, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2976, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2976, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8419 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.0005439/0.2981, allocations: 363.7 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2982, allocations: 8.031 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.2982, allocations: 12.84 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.2984, allocations: 168.3 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2984, allocations: 4.375 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.2984, allocations: 384 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.2987, allocations: 70.2 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2987, allocations: 192 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2987, allocations: 7.938 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2987, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.299, allocations: 67.92 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.2994, allocations: 272.8 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.2996, allocations: 62.48 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2997, allocations: 36.91 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.2997, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2998, allocations: 30.56 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2998, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005163/0.3003, allocations: 129.5 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3003, allocations: 55.39 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.3004, allocations: 109.8 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3005, allocations: 25.7 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.3005, allocations: 84.14 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.3005, allocations: 11.81 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.3006, allocations: 17.72 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3007, allocations: 318.8 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3009, allocations: 27.97 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.301, allocations: 31.95 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.3013, allocations: 68.8 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3013, allocations: 7.875 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003102/0.3016, allocations: 105.8 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3016, allocations: 6.344 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3016, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3016, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3018, allocations: 19.98 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3018, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/0.3019, allocations: 11.98 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3019, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 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.022e-05/0.302, allocations: 120 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.302, allocations: 7.891 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.3023, allocations: 113.5 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3024, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3024, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3024, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.3026, allocations: 169.6 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3026, allocations: 4 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.3027, allocations: 19.97 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3027, allocations: 4 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3027, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3027, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3027, allocations: 4 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.3031, allocations: 191.4 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.3031, allocations: 88.95 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.3031, allocations: 7.922 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3032, allocations: 11.98 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.3033, allocations: 4 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3033, allocations: 4 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.3034, allocations: 83.27 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3034, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002089/0.3036, allocations: 12 kB / 1.069 GB, free: 10.07 MB / 0.8419 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.0001221/0.3037, allocations: 99.25 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.304, allocations: 67.92 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.304, allocations: 0 / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.3042, allocations: 39.89 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.3045, allocations: 11.94 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.3048, allocations: 167.2 kB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3051, allocations: 0.6807 MB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.3051, allocations: 11.38 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3051, allocations: 0 / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of Templates: time 0.002143/0.3073, allocations: 0.7397 MB / 1.07 GB, free: 8.203 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches