Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001107/0.001107, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001623/0.00273, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009907/0.0009907, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002318, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9904/0.9904, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08127/1.072, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.348/2.348, allocations: 447.1 MB / 0.675 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.259/2.607, allocations: 146 MB / 0.8176 GB, free: 3.855 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.819 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.073e-05, allocations: 2.312 kB / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001431/0.001452, allocations: 0.7601 MB / 0.8197 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009748/0.002427, allocations: 0.8509 MB / 0.8206 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.00247, allocations: 0 / 0.8206 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.0025, allocations: 3.938 kB / 0.8206 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.002548, allocations: 11.88 kB / 0.8206 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.174e-05/0.00263, allocations: 15.98 kB / 0.8206 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.987e-05/0.00273, allocations: 39.86 kB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.002848, allocations: 11.98 kB / 0.8207 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.002962, allocations: 31.91 kB / 0.8207 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.003028, allocations: 11.98 kB / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.003054, allocations: 4 kB / 0.8207 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.003066, allocations: 4 kB / 0.8207 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.003092, allocations: 7.938 kB / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.00312, allocations: 12 kB / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.00324, allocations: 35.84 kB / 0.8208 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.595e-05/0.003255, allocations: 0 / 0.8208 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.593e-06/0.003257, allocations: 0 / 0.8208 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.003274, allocations: 0 / 0.8208 GB, free: 0.6406 MB / 0.7917 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.0005569/0.003831, allocations: 260.5 kB / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.00388, allocations: 8.031 kB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.003924, allocations: 8.875 kB / 0.821 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.004059, allocations: 117.7 kB / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.004072, allocations: 384 / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.004086, allocations: 384 / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.004239, allocations: 74.92 kB / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004246, allocations: 192 / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.004254, allocations: 384 / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.004261, allocations: 384 / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.004286, allocations: 7.938 kB / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.004585, allocations: 156.2 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.983e-05/0.004665, allocations: 22.58 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.004685, allocations: 12.92 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.004707, allocations: 0 / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.004736, allocations: 38.64 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.004738, allocations: 4 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001461/0.004884, allocations: 45.56 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.004933, allocations: 55.41 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.00501, allocations: 110.7 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.005024, allocations: 25.7 kB / 0.8217 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.005071, allocations: 88.06 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.005095, allocations: 15.91 kB / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.005122, allocations: 13.72 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.005218, allocations: 314.8 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.005231, allocations: 4 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.005243, allocations: 4 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.005275, allocations: 20.83 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.005278, allocations: 0 / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.401e-05/0.005332, allocations: 41.62 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.005348, allocations: 4 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.005355, allocations: 4 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.005374, allocations: 3.938 kB / 0.8222 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.005466, allocations: 8 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.005471, allocations: 3.984 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.005497, allocations: 7.938 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.005505, allocations: 4.312 kB / 0.8222 GB, free: 15.02 MB / 0.8073 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.432e-05/0.005569, allocations: 113.8 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.005582, allocations: 0 / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.414e-05/0.005677, allocations: 53.94 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.005681, allocations: 3.984 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.005686, allocations: 7.984 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.00569, allocations: 4 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.802e-05/0.005788, allocations: 65.89 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005789, allocations: 0 / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.005825, allocations: 15.98 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.005834, allocations: 11.94 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.005837, allocations: 0 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.005843, allocations: 0 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.005845, allocations: 0 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.00585, allocations: 7.938 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.006184, allocations: 131.5 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.006197, allocations: 4 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.72e-05/0.006234, allocations: 11.98 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.006271, allocations: 3.984 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.006276, allocations: 3.938 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.943e-05/0.006295, allocations: 16.84 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006295, allocations: 7.938 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001154/0.00641, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 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 8.5e-05/0.006495, allocations: 80.42 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.006578, allocations: 16.84 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.006586, allocations: 0 / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.006613, allocations: 12.86 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.00684, allocations: 63.39 kB / 0.8228 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.007282, allocations: 144.5 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.046e-05/0.007322, allocations: 55.36 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.007344, allocations: 0 / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.007407, allocations: 59.36 kB / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of SimCode: time 1.292e-06/0.007408, allocations: 0 / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of Templates: time 0.002093/0.009501, allocations: 0.7005 MB / 0.8237 GB, free: 13.32 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.092491872608662]