Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007482/0.0007482, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001891, 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.0007246/0.0007246, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001729, 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.9603/0.9603, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08885/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.372/2.372, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2637/2.636, allocations: 146 MB / 0.8176 GB, free: 3.832 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.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.516e-05, allocations: 4.562 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001773/0.001788, allocations: 0.8648 MB / 0.8198 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001098/0.001898, allocations: 43.78 kB / 0.8198 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.001942, allocations: 4 kB / 0.8198 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/0.001977, allocations: 15.86 kB / 0.8198 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.002025, allocations: 15.8 kB / 0.8199 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.347e-05/0.002068, allocations: 19.98 kB / 0.8199 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.002171, allocations: 59.84 kB / 0.8199 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.002282, allocations: 39.84 kB / 0.82 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.002376, allocations: 43.84 kB / 0.82 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.00242, allocations: 15.91 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.002447, allocations: 8 kB / 0.82 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.002457, allocations: 4 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.00248, allocations: 11.94 kB / 0.82 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.002507, allocations: 19.94 kB / 0.8201 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.002612, allocations: 47.72 kB / 0.8201 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.002626, allocations: 0 / 0.8201 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002626, allocations: 0 / 0.8201 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.002641, allocations: 0 / 0.8201 GB, free: 1.273 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004158/0.003056, allocations: 284.3 kB / 0.8204 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.003092, allocations: 16.02 kB / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.003127, allocations: 4.938 kB / 0.8204 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.003289, allocations: 141.6 kB / 0.8205 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.0033, allocations: 4.281 kB / 0.8205 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.003317, allocations: 12.38 kB / 0.8206 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.003435, allocations: 85.48 kB / 0.8206 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.003442, allocations: 192 / 0.8206 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.003451, allocations: 384 / 0.8206 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.003459, allocations: 4.375 kB / 0.8206 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.292e-05/0.003492, allocations: 23.81 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.003915, allocations: 0.5049 MB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.554e-05/0.004, allocations: 169.3 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.004024, allocations: 84.14 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.004045, allocations: 75.28 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.004086, allocations: 109.8 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.004088, allocations: 0 / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.436e-05/0.004152, allocations: 29.7 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.004201, allocations: 130.7 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.004306, allocations: 149.7 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.004317, allocations: 25.7 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.004385, allocations: 123.8 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/0.004389, allocations: 4 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.004424, allocations: 29.59 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.004513, allocations: 322.8 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.178e-06/0.004523, allocations: 4 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.963e-05/0.004562, allocations: 58.84 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.044e-05/0.004633, allocations: 74.67 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.004635, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001125/0.004748, allocations: 77.48 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.004762, allocations: 8 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.004768, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.004786, allocations: 7.984 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.004844, allocations: 12 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.004851, allocations: 8.141 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.004886, allocations: 11.88 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.004894, allocations: 7.984 kB / 0.8226 GB, free: 14.48 MB / 0.8073 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 8.424e-05/0.004978, allocations: 193.3 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.005031, allocations: 113 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.00508, allocations: 120.8 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/0.00513, allocations: 184.2 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.858e-05/0.005178, allocations: 180.3 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-05/0.005228, allocations: 180.2 kB / 0.8235 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.005406, allocations: 329.4 kB / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.343e-05/0.00544, allocations: 108.9 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.005469, allocations: 105 kB / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.005513, allocations: 108.9 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.221e-05/0.005566, allocations: 188.2 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.005621, allocations: 180.3 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.176e-05/0.005672, allocations: 184.2 kB / 0.8247 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.145e-05/0.005724, allocations: 176.3 kB / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.005841, allocations: 307.7 kB / 0.8251 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.005902, allocations: 180.2 kB / 0.8253 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.005981, allocations: 112.9 kB / 0.8254 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.006041, allocations: 176.3 kB / 0.8256 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.006076, allocations: 101 kB / 0.8257 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.00611, allocations: 28.83 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.00611, allocations: 0 / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002083/0.006318, allocations: 19.89 kB / 0.8257 GB, free: 11.1 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 (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 0.0001276/0.006446, allocations: 155.7 kB / 0.8259 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.496e-05/0.006531, allocations: 36.78 kB / 0.8259 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.006536, allocations: 0 / 0.8259 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.006539, allocations: 0 / 0.8259 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.006806, allocations: 484.2 kB / 0.8264 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.007057, allocations: 232.1 kB / 0.8266 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.007094, allocations: 59.34 kB / 0.8267 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.00713, allocations: 8.719 kB / 0.8267 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.007169, allocations: 51.38 kB / 0.8267 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.00717, allocations: 0 / 0.8267 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.00188/0.009049, allocations: 263.5 kB / 0.827 GB, free: 9.773 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.138433150015771]