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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 113.5 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.92/2.92, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9758/0.9779, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001654/0.9795, allocations: 0.7084 MB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000704/0.9802, allocations: 0.8326 MB / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.9803, allocations: 3.938 kB / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.9803, allocations: 3.938 kB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.9803, allocations: 10.47 kB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.089e-05/0.9804, allocations: 7.188 kB / 1.324 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.9805, allocations: 48.8 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.9806, allocations: 17.8 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.9807, allocations: 23.44 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.9807, allocations: 14.25 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.9807, allocations: 5.5 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.9807, allocations: 2.906 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.9808, allocations: 7.281 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.9808, allocations: 24.61 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.571e-05/0.9809, allocations: 44.17 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.9809, allocations: 0 / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9809, allocations: 0 / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.9809, allocations: 0 / 1.324 GB, free: 23.88 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.0004238/0.9813, allocations: 366.3 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.9813, allocations: 14.92 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.9814, allocations: 0.9375 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.393e-05/0.9814, allocations: 173.1 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.9814, allocations: 384 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.9814, allocations: 6.812 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.9817, allocations: 68.09 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.9817, allocations: 192 / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.9817, allocations: 7.938 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9817, allocations: 6.219 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.982, allocations: 59.28 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.9823, allocations: 267.7 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.9825, allocations: 56.33 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.9826, allocations: 40.94 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.9826, allocations: 3.062 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.9826, allocations: 34.56 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.9826, allocations: 0 / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005159/0.9832, allocations: 132.8 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.9832, allocations: 54.78 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.192e-05/0.9832, allocations: 113.6 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.9832, allocations: 29.7 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.9833, allocations: 82.86 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.9833, allocations: 18.69 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.9833, allocations: 16.02 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.9834, allocations: 314.8 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.9835, allocations: 32.53 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.9836, allocations: 34.7 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.9839, allocations: 67.12 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9839, allocations: 3.938 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002962/0.9842, allocations: 102.2 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.9842, allocations: 5.531 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.9842, allocations: 3.938 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.9842, allocations: 48 / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.9843, allocations: 22.14 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.9843, allocations: 0 / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.701e-05/0.9844, allocations: 11.19 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.9844, allocations: 0 / 1.326 GB, free: 22.1 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 4.864e-05/0.9845, allocations: 120.6 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.9845, allocations: 9.859 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.9848, allocations: 102.5 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9848, allocations: 0 / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9848, allocations: 4 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9848, allocations: 2.875 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.985, allocations: 173 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.985, allocations: 2.531 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.985, allocations: 16.97 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.985, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.9851, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.9851, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9851, allocations: 3.938 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.9854, allocations: 200.1 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.9854, allocations: 81.06 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.9854, allocations: 6.75 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.9855, allocations: 8.812 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.9856, allocations: 10.14 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.9856, allocations: 0 / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.613e-05/0.9856, allocations: 99.08 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9856, allocations: 0 / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002164/0.9858, allocations: 5.5 kB / 1.327 GB, free: 21.36 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.0001287/0.9859, allocations: 95.78 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000339/0.9863, allocations: 66.77 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.9863, allocations: 4 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.9864, allocations: 39.44 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.9867, allocations: 11.25 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.987, allocations: 148 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.794e-05/0.9871, allocations: 0.6772 MB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.9871, allocations: 17.83 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.9871, allocations: 0 / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of Templates: time 0.002115/0.9892, allocations: 0.7441 MB / 1.328 GB, free: 20.35 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/jenkins1/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: 11.355946538009448]