Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001128/0.001128, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002023/0.003152, allocations: 449.8 kB / 10.44 MB, free: 252 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.001191/0.001191, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002768, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.079/1.079, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1115/1.19, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.892/1.892, allocations: 378.3 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5527/2.444, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.003e-05, allocations: 3.375 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001398/0.001418, allocations: 0.8804 MB / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 7.669e-05/0.001495, allocations: 44.62 kB / 0.7306 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.001529, allocations: 4.656 kB / 0.7306 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.001555, allocations: 7.875 kB / 0.7306 GB, free: 3.496 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.802e-05/0.001593, allocations: 11.14 kB / 0.7306 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.452e-05/0.001628, allocations: 23.95 kB / 0.7306 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.001717, allocations: 58.95 kB / 0.7307 GB, free: 3.418 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.001808, allocations: 28.97 kB / 0.7307 GB, free: 3.391 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.539e-05/0.001893, allocations: 53.89 kB / 0.7307 GB, free: 3.344 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.001934, allocations: 15.7 kB / 0.7308 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.001953, allocations: 6.469 kB / 0.7308 GB, free: 3.328 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.001962, allocations: 8 kB / 0.7308 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.001979, allocations: 8.812 kB / 0.7308 GB, free: 3.312 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.001998, allocations: 15.94 kB / 0.7308 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.887e-05/0.002087, allocations: 43.72 kB / 0.7308 GB, free: 3.254 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.002098, allocations: 0 / 0.7308 GB, free: 3.254 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002099, allocations: 0 / 0.7308 GB, free: 3.254 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.002112, allocations: 0.5 kB / 0.7308 GB, free: 3.254 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.000346/0.002458, allocations: 293.5 kB / 0.7311 GB, free: 2.941 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.00249, allocations: 8.031 kB / 0.7311 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.002519, allocations: 12.94 kB / 0.7311 GB, free: 2.922 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.002642, allocations: 138.5 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.002654, allocations: 8.375 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.002666, allocations: 8.875 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.696e-05/0.002753, allocations: 75.88 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.002759, allocations: 1.906 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.002769, allocations: 8.375 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.002774, allocations: 384 / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.615e-05/0.0028, allocations: 19.92 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.00312, allocations: 0.5057 MB / 0.7319 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.017e-05/0.00318, allocations: 170.9 kB / 0.732 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.003201, allocations: 84.14 kB / 0.7321 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.003218, allocations: 75.28 kB / 0.7322 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.003251, allocations: 109.8 kB / 0.7323 GB, free: 1.641 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.003252, allocations: 0.875 kB / 0.7323 GB, free: 1.641 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.175e-05/0.003304, allocations: 33.69 kB / 0.7323 GB, free: 1.602 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.003341, allocations: 130.6 kB / 0.7325 GB, free: 1.461 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.003421, allocations: 145.6 kB / 0.7326 GB, free: 1.309 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.003428, allocations: 25.7 kB / 0.7326 GB, free: 1.277 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.003478, allocations: 125.5 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.003481, allocations: 4 kB / 0.7327 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.003505, allocations: 25.66 kB / 0.7328 GB, free: 1.117 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.003576, allocations: 322.8 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.003583, allocations: 11.92 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.003609, allocations: 51.36 kB / 0.7331 GB, free: 0.707 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/0.003663, allocations: 73.61 kB / 0.7332 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.003666, allocations: 0.6562 kB / 0.7332 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.554e-05/0.003751, allocations: 78.95 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.003765, allocations: 7.719 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.003771, allocations: 8.75 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.003783, allocations: 0 / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.842e-05/0.003831, allocations: 20.55 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.003835, allocations: 0 / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.003855, allocations: 9.156 kB / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.003859, allocations: 4 kB / 0.7333 GB, free: 500 kB / 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 6.386e-05/0.003923, allocations: 197 kB / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.003957, allocations: 105.8 kB / 0.7336 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.003992, allocations: 112.7 kB / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.891e-05/0.004041, allocations: 185.7 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.599e-05/0.004077, allocations: 176.3 kB / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-05/0.004115, allocations: 184.2 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.004242, allocations: 341.3 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/0.004266, allocations: 106.2 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.004287, allocations: 101 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.004321, allocations: 108.9 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-05/0.00436, allocations: 185.4 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.004397, allocations: 180.2 kB / 0.7352 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.418e-05/0.004431, allocations: 180.2 kB / 0.7354 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.882e-05/0.00447, allocations: 185.8 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.634e-05/0.004556, allocations: 311.7 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.004597, allocations: 180.3 kB / 0.736 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.00464, allocations: 106 kB / 0.7361 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.004682, allocations: 180.3 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.004706, allocations: 104.9 kB / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.361e-05/0.004729, allocations: 35.41 kB / 0.7364 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.004729, allocations: 1.562 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001207/0.00485, allocations: 11.95 kB / 0.7365 GB, free: 13.11 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.422e-05/0.004944, allocations: 155.7 kB / 0.7366 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.382e-05/0.005008, allocations: 34.91 kB / 0.7366 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.005013, allocations: 4 kB / 0.7366 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.005016, allocations: 4.5 kB / 0.7367 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.005214, allocations: 476.4 kB / 0.7371 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.005422, allocations: 228.7 kB / 0.7373 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.924e-05/0.005451, allocations: 60.05 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.005486, allocations: 8.141 kB / 0.7374 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.005519, allocations: 55.38 kB / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.00552, allocations: 0 / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.001633/0.007153, allocations: 268 kB / 0.7377 GB, free: 11.8 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.155187397263944]