Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001058/0.001058, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002555, 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.0009735/0.0009735, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002263, 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 1.039/1.039, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09792/1.137, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.414/2.414, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2291/2.643, allocations: 146 MB / 0.8176 GB, free: 3.828 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.559e-05, allocations: 8.844 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002009/0.002035, allocations: 0.7186 MB / 0.8197 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.00298, allocations: 0.8625 MB / 0.8205 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.003011, allocations: 0 / 0.8205 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.003042, allocations: 3.938 kB / 0.8205 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.003083, allocations: 11.97 kB / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.003187, allocations: 15.88 kB / 0.8206 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.316e-05/0.00326, allocations: 23.92 kB / 0.8206 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.81e-05/0.003338, allocations: 4 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.404e-05/0.003432, allocations: 23.92 kB / 0.8206 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.003475, allocations: 3.984 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.003492, allocations: 4 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/0.003552, allocations: 4 kB / 0.8206 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.003569, allocations: 4 kB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.003585, allocations: 3.938 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.003696, allocations: 27.97 kB / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.656e-05/0.003712, allocations: 0 / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003713, allocations: 0 / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.003728, allocations: 0 / 0.8207 GB, free: 0.7031 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000406/0.004134, allocations: 232.6 kB / 0.8209 GB, free: 460 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.004173, allocations: 8.031 kB / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.004322, allocations: 86.03 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.004424, allocations: 113.8 kB / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.004436, allocations: 384 / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.004446, allocations: 384 / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.004568, allocations: 54.89 kB / 0.8211 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.004576, allocations: 4.188 kB / 0.8211 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.004583, allocations: 384 / 0.8211 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.004589, allocations: 4.312 kB / 0.8211 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.004613, allocations: 11.92 kB / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.004862, allocations: 144.3 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.088e-05/0.004922, allocations: 26.55 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.004938, allocations: 8.922 kB / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.004955, allocations: 0 / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.00498, allocations: 30.56 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 2.265e-06/0.004982, allocations: 4 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001208/0.005103, allocations: 33.7 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.005142, allocations: 63.33 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.005208, allocations: 106.7 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.00522, allocations: 33.64 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.005253, allocations: 80.14 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.005271, allocations: 3.953 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.005299, allocations: 17.7 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.005394, allocations: 314.8 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.005404, allocations: 0 / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-06/0.005414, allocations: 4.125 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.005445, allocations: 12.84 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005447, allocations: 4 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.949e-05/0.005507, allocations: 33.69 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.005523, allocations: 8 kB / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005528, allocations: 0 / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.005541, allocations: 0 / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.005622, allocations: 15.86 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.005625, allocations: 0 / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.172e-05/0.005646, allocations: 4.094 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.005653, allocations: 8 kB / 0.8221 GB, free: 15.08 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 (2): * Single equations (assignments): 2 * 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.509e-05/0.005718, allocations: 109.8 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.005739, allocations: 4 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.005886, allocations: 37 kB / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.005888, allocations: 0 / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.005894, allocations: 7.938 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.005897, allocations: 0 / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.00601, allocations: 65.89 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006011, allocations: 0 / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.006059, allocations: 11.97 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.00607, allocations: 15.94 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006072, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.006078, allocations: 7.938 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.00608, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.006083, allocations: 3.938 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.256e-05/0.006175, allocations: 127.5 kB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.006185, allocations: 0 / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.006243, allocations: 4 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.006272, allocations: 0 / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006277, allocations: 8.031 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.848e-05/0.006295, allocations: 16.77 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006295, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001825/0.006478, allocations: 4 kB / 0.8225 GB, free: 14.62 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 (2): * Single equations (assignments): 2 * 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.0001376/0.006615, allocations: 84.36 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.563e-05/0.006681, allocations: 12.8 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.006688, allocations: 4 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.006718, allocations: 12.84 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.006925, allocations: 33.89 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.007343, allocations: 112.7 kB / 0.8227 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.007385, allocations: 59.34 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.007409, allocations: 0 / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.007464, allocations: 51.38 kB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/0.007465, allocations: 0 / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.002406/0.009871, allocations: 478 kB / 0.8233 GB, free: 13.72 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.187115821056068]