Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 193.8 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 79.88 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8601/0.8622, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002376/0.8646, allocations: 0.8393 MB / 1.275 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.8647, allocations: 47.67 kB / 1.275 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.8647, allocations: 0 / 1.275 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.19e-05/0.8648, allocations: 15.86 kB / 1.275 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.126e-05/0.8649, allocations: 15.86 kB / 1.275 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.546e-05/0.8649, allocations: 15.98 kB / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.8651, allocations: 55.91 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.8652, allocations: 39.86 kB / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.8653, allocations: 19.94 kB / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.8653, allocations: 35.72 kB / 1.275 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.8654, allocations: 8 kB / 1.275 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.8654, allocations: 4 kB / 1.275 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.8654, allocations: 15.94 kB / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.8654, allocations: 35.78 kB / 1.275 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.8656, allocations: 74.33 kB / 1.275 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8656, allocations: 0 / 1.275 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8656, allocations: 0 / 1.275 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.8656, allocations: 0 / 1.275 GB, free: 3.348 MB / 0.9669 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.0005317/0.8661, allocations: 379.1 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.8661, allocations: 8.031 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.8662, allocations: 12.84 kB / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.8664, allocations: 196.2 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.8664, allocations: 16.31 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.8664, allocations: 8.375 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.8666, allocations: 91.88 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.8666, allocations: 192 / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.8667, allocations: 11.94 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8667, allocations: 0 / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.8667, allocations: 35.98 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.8673, allocations: 436.7 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/0.8674, allocations: 37.16 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.8674, allocations: 21.83 kB / 1.276 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.8675, allocations: 4 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.8675, allocations: 38.59 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8675, allocations: 0 / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001815/0.8677, allocations: 53.53 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.8677, allocations: 81.11 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.8679, allocations: 154.2 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.8679, allocations: 25.7 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.868, allocations: 116.3 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.868, allocations: 7.891 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.8681, allocations: 21.67 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.8682, allocations: 318.8 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.8682, allocations: 4 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.8683, allocations: 25.69 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/0.8683, allocations: 33.66 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.8683, allocations: 0 / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.158e-05/0.8684, allocations: 53.66 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8684, allocations: 10.17 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8684, allocations: 7.938 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8685, allocations: 0 / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.8685, allocations: 11.94 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.8685, allocations: 0 / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.8686, allocations: 7.938 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.8686, allocations: 4.062 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.937e-05/0.8686, allocations: 114.4 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.8687, allocations: 7.953 kB / 1.277 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.8687, allocations: 23.73 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8687, allocations: 0 / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8687, allocations: 0 / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8687, allocations: 0 / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.8692, allocations: 474.7 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8692, allocations: 4 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/0.8692, allocations: 0 / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.8692, allocations: 0 / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.8692, allocations: 4 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8692, allocations: 0 / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8692, allocations: 0 / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.881e-05/0.8693, allocations: 89.88 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.8694, allocations: 89.11 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.8694, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.8694, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.8694, allocations: 4 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.8694, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.815e-05/0.8695, allocations: 125.4 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8695, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001876/0.8697, allocations: 8 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001386/0.8699, allocations: 99.28 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.752e-05/0.87, allocations: 19.94 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.87, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.87, allocations: 7.984 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.8701, allocations: 11.88 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.8705, allocations: 174.9 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.8708, allocations: 0.6963 MB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.8709, allocations: 4.438 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.8709, allocations: 11.44 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.8709, allocations: 3.938 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.00293/0.8738, allocations: 478 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.059561155270785]