Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.0007819/0.0007819, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001919, allocations: 449.7 kB / 10.37 MB, free: 328 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.001131/0.001131, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.002493, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09259/1.099, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.872/1.872, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5357/2.407, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.496e-05, allocations: 12.92 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002282/0.002307, allocations: 0.8591 MB / 0.7302 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.002422, allocations: 49.14 kB / 0.7302 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.002468, allocations: 4.594 kB / 0.7302 GB, free: 3.648 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.002502, allocations: 11.86 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.00255, allocations: 12.23 kB / 0.7303 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.474e-05/0.002595, allocations: 19.98 kB / 0.7303 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.002708, allocations: 61.7 kB / 0.7303 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.002827, allocations: 32.73 kB / 0.7304 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.002933, allocations: 44.83 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.002986, allocations: 19.91 kB / 0.7304 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.003011, allocations: 5.406 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.003022, allocations: 4 kB / 0.7304 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.003041, allocations: 11.94 kB / 0.7305 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.003073, allocations: 20.47 kB / 0.7305 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.003183, allocations: 43.72 kB / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.871e-05/0.003201, allocations: 0.9375 kB / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003202, allocations: 0 / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.003221, allocations: 0.5 kB / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004339/0.003655, allocations: 289.2 kB / 0.7308 GB, free: 3.078 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.003695, allocations: 12.03 kB / 0.7308 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.003732, allocations: 16.92 kB / 0.7308 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.003897, allocations: 139 kB / 0.7309 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.00391, allocations: 8.312 kB / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.003921, allocations: 8.375 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.004043, allocations: 76.59 kB / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.004052, allocations: 4.125 kB / 0.731 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.004061, allocations: 5.047 kB / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.004069, allocations: 4.375 kB / 0.7311 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.898e-05/0.004108, allocations: 25.53 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.004565, allocations: 0.5011 MB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.17e-05/0.004647, allocations: 173.1 kB / 0.7317 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.004677, allocations: 81.2 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.004702, allocations: 75.28 kB / 0.7319 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.004749, allocations: 105.9 kB / 0.732 GB, free: 1.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.00475, allocations: 5.938 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.788e-05/0.004818, allocations: 29.7 kB / 0.732 GB, free: 1.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.004878, allocations: 130.7 kB / 0.7321 GB, free: 1.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.004993, allocations: 144.8 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.005003, allocations: 25.7 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.005072, allocations: 128.9 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.00508, allocations: 0 / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.00512, allocations: 29.66 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.005226, allocations: 322.8 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.005237, allocations: 4.531 kB / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/0.005281, allocations: 59.67 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.143e-05/0.005353, allocations: 66.05 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.005356, allocations: 0 / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001198/0.005475, allocations: 75.02 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.005491, allocations: 9.062 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.005497, allocations: 0 / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.00551, allocations: 4 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.005573, allocations: 20.8 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.005579, allocations: 4 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.005618, allocations: 7.938 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.005625, allocations: 4.75 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0002339/0.005859, allocations: 193.6 kB / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.005912, allocations: 113.8 kB / 0.7333 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.005962, allocations: 112.8 kB / 0.7334 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.602e-05/0.006008, allocations: 180.2 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-05/0.006069, allocations: 181.3 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-05/0.006127, allocations: 188.2 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.0063, allocations: 334 kB / 0.7342 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-05/0.006332, allocations: 105 kB / 0.7343 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.006359, allocations: 106.7 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.006402, allocations: 112.9 kB / 0.7346 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.006479, allocations: 180.2 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.006534, allocations: 180.2 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-05/0.006585, allocations: 184.3 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.936e-05/0.006634, allocations: 181.7 kB / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.006757, allocations: 311.8 kB / 0.7355 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.006817, allocations: 180.2 kB / 0.7357 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.006885, allocations: 105.7 kB / 0.7358 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.006939, allocations: 180.2 kB / 0.736 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.006971, allocations: 109.7 kB / 0.7361 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.007002, allocations: 30.72 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.007002, allocations: 0.75 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001952/0.007198, allocations: 7.953 kB / 0.7361 GB, free: 13.24 MB / 0.7136 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 (0): * Single equations (assignments): 0 * 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 9.292e-05/0.00729, allocations: 157.5 kB / 0.7363 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.016e-05/0.007361, allocations: 33.91 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.007366, allocations: 4 kB / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.007367, allocations: 0 / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.007658, allocations: 468.2 kB / 0.7368 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.007917, allocations: 224.9 kB / 0.737 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.007958, allocations: 60.52 kB / 0.737 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.007992, allocations: 11.69 kB / 0.7371 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.008027, allocations: 51.38 kB / 0.7371 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of SimCode: time 4.1e-07/0.008028, allocations: 0 / 0.7371 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.002051/0.01008, allocations: 339.8 kB / 0.7374 GB, free: 11.88 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.921125908382237]