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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 113.9 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002656/0.002656, allocations: 190.3 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 1.062 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 160.8 MB / 1.219 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.00238/1.013, allocations: 0.7153 MB / 1.219 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001319/1.015, allocations: 0.8062 MB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/1.015, allocations: 4.969 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/1.015, allocations: 0 / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/1.015, allocations: 13 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/1.015, allocations: 18.69 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/1.015, allocations: 36.23 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/1.015, allocations: 15.73 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/1.015, allocations: 22.02 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/1.016, allocations: 21.84 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/1.016, allocations: 3.5 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.641e-05/1.016, allocations: 3.406 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/1.016, allocations: 9.094 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/1.016, allocations: 19.33 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/1.016, allocations: 46.41 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/1.016, allocations: 5.062 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/1.016, allocations: 0 / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.016, allocations: 0 / 1.22 GB, free: 2.336 MB / 0.92 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.0006903/1.017, allocations: 366.8 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/1.017, allocations: 9 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/1.017, allocations: 15.61 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/1.017, allocations: 167 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.017, allocations: 5.219 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/1.017, allocations: 2.406 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/1.017, allocations: 66.94 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/1.017, allocations: 0.9375 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.017, allocations: 3.938 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/1.017, allocations: 1.312 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/1.017, allocations: 67.2 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/1.018, allocations: 270.4 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/1.018, allocations: 52.3 kB / 1.221 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/1.018, allocations: 47.16 kB / 1.221 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/1.018, allocations: 0 / 1.221 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.018, allocations: 35.34 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/1.018, allocations: 0.9688 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005568/1.019, allocations: 138 kB / 1.221 GB, free: 1.152 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/1.019, allocations: 51.41 kB / 1.221 GB, free: 1.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/1.019, allocations: 109.1 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/1.019, allocations: 25.7 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/1.019, allocations: 85.27 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/1.019, allocations: 13.12 kB / 1.222 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/1.019, allocations: 16.25 kB / 1.222 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.019, allocations: 317.1 kB / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/1.02, allocations: 32.5 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/1.02, allocations: 34.42 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/1.02, allocations: 66.88 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.02, allocations: 11.88 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000309/1.02, allocations: 94.34 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/1.02, allocations: 5.281 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/1.02, allocations: 0 / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.02, allocations: 3.938 kB / 1.222 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/1.021, allocations: 15.08 kB / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.021, allocations: 0 / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/1.021, allocations: 19.44 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/1.021, allocations: 1.156 kB / 1.222 GB, free: 372 kB / 0.92 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 0.0001109/1.021, allocations: 123.9 kB / 1.222 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/1.021, allocations: 4.922 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/1.021, allocations: 112.6 kB / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/1.021, allocations: 1.094 kB / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.021, allocations: 0 / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.021, allocations: 1.062 kB / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/1.021, allocations: 173 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/1.021, allocations: 0 / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/1.021, allocations: 19.03 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.021, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/1.021, allocations: 5.25 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.021, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.021, allocations: 4 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/1.022, allocations: 201 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/1.022, allocations: 82.16 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/1.022, allocations: 1.188 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.022, allocations: 14.27 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/1.022, allocations: 5.984 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/1.022, allocations: 5 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.773e-05/1.022, allocations: 85.62 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.022, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002138/1.022, allocations: 5.719 kB / 1.223 GB, free: 15.56 MB / 0.9356 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.0001455/1.022, allocations: 93.31 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003386/1.023, allocations: 75.05 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.023, allocations: 0 / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/1.023, allocations: 36.62 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/1.023, allocations: 18.12 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/1.024, allocations: 136.8 kB / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/1.024, allocations: 0.6841 MB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.182e-05/1.024, allocations: 1.094 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/1.024, allocations: 13.59 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.024, allocations: 0 / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of Templates: time 0.004202/1.028, allocations: 0.6812 MB / 1.225 GB, free: 14.22 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.122391179203987]