Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.00118/0.00118, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002016/0.003196, 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.001216/0.001216, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001869/0.003085, allocations: 479.5 kB / 11.83 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.032/1.032, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1123/1.144, 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 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.938/1.938, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5179/2.456, allocations: 123.3 MB / 0.7283 GB, free: 5.723 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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.177e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001611/0.001633, allocations: 0.8794 MB / 0.7305 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 9.002e-05/0.001723, allocations: 48.27 kB / 0.7306 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.001761, allocations: 0 / 0.7306 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.00179, allocations: 7.875 kB / 0.7306 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.001836, allocations: 15.23 kB / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.595e-05/0.001872, allocations: 19.97 kB / 0.7306 GB, free: 3.473 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.001985, allocations: 57.97 kB / 0.7307 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.002097, allocations: 40.72 kB / 0.7307 GB, free: 3.387 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.599e-05/0.002193, allocations: 44.27 kB / 0.7307 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.00224, allocations: 16.03 kB / 0.7308 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.00226, allocations: 4 kB / 0.7308 GB, free: 3.336 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.002269, allocations: 4.625 kB / 0.7308 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.002293, allocations: 12.59 kB / 0.7308 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.002314, allocations: 16.94 kB / 0.7308 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.864e-05/0.002412, allocations: 47.66 kB / 0.7308 GB, free: 3.258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.002426, allocations: 0 / 0.7308 GB, free: 3.258 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.212e-06/0.002427, allocations: 0.6562 kB / 0.7308 GB, free: 3.258 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.002441, allocations: 0.6875 kB / 0.7308 GB, free: 3.258 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.0003881/0.002829, allocations: 288.3 kB / 0.7311 GB, free: 2.949 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.002866, allocations: 12.53 kB / 0.7311 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.0029, allocations: 13.55 kB / 0.7311 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.003052, allocations: 133.6 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.003066, allocations: 9.219 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.003084, allocations: 12.38 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.003199, allocations: 79.58 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.003207, allocations: 192 / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.003215, allocations: 5.781 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.003223, allocations: 4.375 kB / 0.7314 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.003254, allocations: 23.86 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.003641, allocations: 0.4977 MB / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.877e-05/0.00371, allocations: 170.7 kB / 0.732 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.003736, allocations: 84.14 kB / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.003759, allocations: 75.28 kB / 0.7322 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.003804, allocations: 105.9 kB / 0.7323 GB, free: 1.652 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.003806, allocations: 8.859 kB / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.765e-05/0.003874, allocations: 33.69 kB / 0.7323 GB, free: 1.605 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.003919, allocations: 127.2 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.00402, allocations: 144.8 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.004029, allocations: 27.3 kB / 0.7326 GB, free: 1.285 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.00409, allocations: 131.7 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.004093, allocations: 0 / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.004123, allocations: 29.66 kB / 0.7328 GB, free: 1.117 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.004209, allocations: 319.6 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.004217, allocations: 4 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.004253, allocations: 56.05 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.004311, allocations: 76.48 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.004314, allocations: 5.219 kB / 0.7332 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.914e-05/0.004414, allocations: 75.27 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.004428, allocations: 8 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.004433, allocations: 0 / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.004448, allocations: 4.812 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.004509, allocations: 19.92 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.004514, allocations: 4.781 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.00454, allocations: 7.938 kB / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.004546, allocations: 5.219 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 7.195e-05/0.004618, allocations: 193 kB / 0.7335 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.004658, allocations: 113.6 kB / 0.7336 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.004696, allocations: 108.8 kB / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-05/0.004752, allocations: 185.6 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.372e-05/0.004795, allocations: 180.3 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-05/0.004839, allocations: 184.2 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.004988, allocations: 333.3 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/0.00502, allocations: 105.7 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.00505, allocations: 104.9 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.005091, allocations: 110.7 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.77e-05/0.005139, allocations: 180.2 kB / 0.7351 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/0.005192, allocations: 184.2 kB / 0.7352 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.034e-05/0.005243, allocations: 176.3 kB / 0.7354 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.821e-05/0.005291, allocations: 184.4 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.005714, allocations: 317.1 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.005765, allocations: 180.2 kB / 0.736 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.722e-05/0.005812, allocations: 105 kB / 0.7361 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.005859, allocations: 181.5 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.005885, allocations: 105 kB / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.174e-05/0.005916, allocations: 30.73 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005916, allocations: 1.25 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001391/0.006056, 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 0.0001057/0.006161, allocations: 152.7 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.457e-05/0.006246, allocations: 42.47 kB / 0.7367 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.006252, allocations: 0 / 0.7367 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.955e-06/0.006255, allocations: 0 / 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.0002227/0.006478, allocations: 472.3 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.006742, allocations: 235.1 kB / 0.7373 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.006777, allocations: 60.05 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.006817, allocations: 4.734 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.006865, allocations: 51.38 kB / 0.7374 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of SimCode: time 1.203e-06/0.006866, allocations: 6.969 kB / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.001811/0.008677, allocations: 273.6 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.To_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.053813728503883]