Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00199/0.00199, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.00208/0.00208, allocations: 191.2 kB / 22.1 MB, free: 4.223 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.525/1.525, allocations: 225.6 MB / 250.8 MB, free: 2.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.134/3.134, allocations: 495.8 MB / 0.7831 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.88 kB / 1.137 GB, free: 12.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.208, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002103/1.21, allocations: 0.7156 MB / 1.307 GB, free: 33.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008739/1.211, allocations: 0.8105 MB / 1.308 GB, free: 32.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/1.211, allocations: 0 / 1.308 GB, free: 32.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/1.211, allocations: 3.938 kB / 1.308 GB, free: 32.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/1.211, allocations: 7.781 kB / 1.308 GB, free: 32.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/1.211, allocations: 14.39 kB / 1.308 GB, free: 32.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.417e-05/1.211, allocations: 52.12 kB / 1.308 GB, free: 32.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/1.211, allocations: 6.781 kB / 1.308 GB, free: 32.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/1.211, allocations: 20.98 kB / 1.308 GB, free: 32.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/1.211, allocations: 17.08 kB / 1.308 GB, free: 32.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/1.212, allocations: 5.406 kB / 1.308 GB, free: 32.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/1.212, allocations: 3.469 kB / 1.308 GB, free: 32.65 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/1.212, allocations: 11.17 kB / 1.308 GB, free: 32.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/1.212, allocations: 18.27 kB / 1.308 GB, free: 32.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/1.212, allocations: 44 kB / 1.308 GB, free: 32.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.212, allocations: 0 / 1.308 GB, free: 32.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/1.212, allocations: 4 kB / 1.308 GB, free: 32.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.212, allocations: 0 / 1.308 GB, free: 32.61 MB / 1.061 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.0005865/1.212, allocations: 292.6 kB / 1.309 GB, free: 32.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.212, allocations: 9.25 kB / 1.309 GB, free: 32.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/1.212, allocations: 11.8 kB / 1.309 GB, free: 32.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/1.212, allocations: 105.5 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/1.212, allocations: 384 / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/1.213, allocations: 7.562 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/1.213, allocations: 72.3 kB / 1.309 GB, free: 32.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.213, allocations: 192 / 1.309 GB, free: 32.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.213, allocations: 3.938 kB / 1.309 GB, free: 32.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.213, allocations: 3.938 kB / 1.309 GB, free: 32.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/1.213, allocations: 64.83 kB / 1.309 GB, free: 32.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/1.213, allocations: 241.9 kB / 1.309 GB, free: 31.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/1.214, allocations: 57.08 kB / 1.309 GB, free: 31.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/1.214, allocations: 36.58 kB / 1.309 GB, free: 31.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/1.214, allocations: 2.781 kB / 1.309 GB, free: 31.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/1.214, allocations: 38.56 kB / 1.309 GB, free: 31.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/1.214, allocations: 0 / 1.309 GB, free: 31.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005502/1.214, allocations: 123.9 kB / 1.31 GB, free: 31.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/1.214, allocations: 58.31 kB / 1.31 GB, free: 31.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/1.214, allocations: 109.8 kB / 1.31 GB, free: 31.58 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/1.214, allocations: 25.7 kB / 1.31 GB, free: 31.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/1.215, allocations: 90.42 kB / 1.31 GB, free: 31.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/1.215, allocations: 11.84 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/1.215, allocations: 16.62 kB / 1.31 GB, free: 31.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/1.215, allocations: 317.6 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/1.215, allocations: 35.23 kB / 1.31 GB, free: 31.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/1.215, allocations: 35.12 kB / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/1.215, allocations: 63.83 kB / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.215, allocations: 3.938 kB / 1.31 GB, free: 31.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003007/1.215, allocations: 104.8 kB / 1.31 GB, free: 31.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.215, allocations: 7.625 kB / 1.31 GB, free: 31.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.215, allocations: 0 / 1.31 GB, free: 31.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.216, allocations: 0 / 1.31 GB, free: 31.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/1.216, allocations: 15.23 kB / 1.31 GB, free: 31.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.216, allocations: 3.219 kB / 1.31 GB, free: 31.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/1.216, allocations: 12.78 kB / 1.31 GB, free: 31.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/1.216, allocations: 11.94 kB / 1.31 GB, free: 31.02 MB / 1.061 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.242e-05/1.216, allocations: 116.5 kB / 1.31 GB, free: 30.9 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/1.216, allocations: 3.375 kB / 1.311 GB, free: 30.9 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/1.216, allocations: 105.6 kB / 1.311 GB, free: 30.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.216, allocations: 2.906 kB / 1.311 GB, free: 30.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.216, allocations: 4 kB / 1.311 GB, free: 30.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.216, allocations: 3.938 kB / 1.311 GB, free: 30.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/1.216, allocations: 151.5 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.216, allocations: 0 / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/1.216, allocations: 11.72 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/1.216, allocations: 2.812 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/1.216, allocations: 0 / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.216, allocations: 3.281 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.216, allocations: 3.984 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/1.217, allocations: 200.9 kB / 1.311 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/1.217, allocations: 6.875 kB / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/1.217, allocations: 0 / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/1.217, allocations: 12.38 kB / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/1.217, allocations: 3 kB / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/1.217, allocations: 7.469 kB / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.195e-05/1.217, allocations: 85.31 kB / 1.311 GB, free: 30.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.217, allocations: 0 / 1.311 GB, free: 30.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002105/1.217, allocations: 12.28 kB / 1.311 GB, free: 30.42 MB / 1.061 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.0001384/1.217, allocations: 99.91 kB / 1.311 GB, free: 30.33 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003377/1.218, allocations: 69.47 kB / 1.311 GB, free: 30.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.218, allocations: 0 / 1.311 GB, free: 30.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/1.218, allocations: 34.36 kB / 1.311 GB, free: 30.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/1.218, allocations: 7.359 kB / 1.311 GB, free: 30.31 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/1.218, allocations: 135.1 kB / 1.311 GB, free: 30.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/1.219, allocations: 0.6848 MB / 1.312 GB, free: 29.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.729e-05/1.219, allocations: 0 / 1.312 GB, free: 29.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/1.219, allocations: 10.38 kB / 1.312 GB, free: 29.47 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/1.219, allocations: 0 / 1.312 GB, free: 29.47 MB / 1.061 GB Notification: Performance of Templates: time 0.003268/1.222, allocations: 0.6929 MB / 1.313 GB, free: 29.39 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.056580254808068]