Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001567/0.001567, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.001592/0.001592, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437.1 MB / 0.7177 GB, free: 4.84 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 75.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 151.6 MB / 1.176 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002076/0.3389, allocations: 0.8246 MB / 1.177 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001247/0.339, allocations: 59.72 kB / 1.177 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.3391, allocations: 0 / 1.177 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.299e-05/0.3392, allocations: 11.86 kB / 1.177 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.3392, allocations: 7.875 kB / 1.177 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.54e-05/0.3393, allocations: 15.98 kB / 1.177 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3394, allocations: 63.84 kB / 1.177 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.3396, allocations: 47.95 kB / 1.177 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.3396, allocations: 19.94 kB / 1.177 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.589e-05/0.3397, allocations: 35.72 kB / 1.177 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.3398, allocations: 8 kB / 1.177 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.3398, allocations: 4 kB / 1.177 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.3398, allocations: 15.94 kB / 1.177 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.3398, allocations: 27.8 kB / 1.177 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.34, allocations: 83.58 kB / 1.177 GB, free: 4.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.34, allocations: 0 / 1.177 GB, free: 4.688 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.174e-06/0.34, allocations: 0 / 1.177 GB, free: 4.688 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.34, allocations: 0 / 1.177 GB, free: 4.688 MB / 0.92 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.0005271/0.3405, allocations: 383.1 kB / 1.177 GB, free: 4.262 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3406, allocations: 8.031 kB / 1.177 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.3406, allocations: 12.84 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.3408, allocations: 196.1 kB / 1.178 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3409, allocations: 8.375 kB / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3409, allocations: 12.36 kB / 1.178 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.3411, allocations: 91.89 kB / 1.178 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3411, allocations: 192 / 1.178 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3411, allocations: 11.94 kB / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3411, allocations: 0 / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.342e-05/0.3412, allocations: 31.98 kB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.3418, allocations: 444.7 kB / 1.178 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.146e-05/0.3419, allocations: 33.16 kB / 1.178 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.3419, allocations: 29.77 kB / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.3419, allocations: 0 / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.342, allocations: 38.59 kB / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.342, allocations: 0 / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001898/0.3422, allocations: 53.53 kB / 1.178 GB, free: 3.168 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.3422, allocations: 81.11 kB / 1.178 GB, free: 3.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3424, allocations: 160.9 kB / 1.179 GB, free: 2.906 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.3424, allocations: 25.7 kB / 1.179 GB, free: 2.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.3425, allocations: 108 kB / 1.179 GB, free: 2.766 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.3425, allocations: 8.203 kB / 1.179 GB, free: 2.758 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.3426, allocations: 17.7 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3427, allocations: 318.8 kB / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.3428, allocations: 8 kB / 1.179 GB, free: 2.406 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/0.3428, allocations: 25.7 kB / 1.179 GB, free: 2.375 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.3428, allocations: 25.66 kB / 1.179 GB, free: 2.344 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3429, allocations: 4 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.714e-05/0.3429, allocations: 57.59 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.343, allocations: 8 kB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.343, allocations: 3.938 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.343, allocations: 0 / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.3431, allocations: 8 kB / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3431, allocations: 7.938 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.3431, allocations: 0 / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3431, allocations: 4 kB / 1.179 GB, free: 2.246 MB / 0.92 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.749e-05/0.3432, allocations: 113.9 kB / 1.179 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.3433, allocations: 11.89 kB / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.3433, allocations: 15.8 kB / 1.179 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3433, allocations: 0 / 1.179 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3433, allocations: 4 kB / 1.179 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3433, allocations: 0 / 1.179 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.3438, allocations: 478.7 kB / 1.18 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3438, allocations: 0 / 1.18 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.3438, allocations: 4 kB / 1.18 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3438, allocations: 0 / 1.18 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.3438, allocations: 0 / 1.18 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3438, allocations: 0 / 1.18 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3438, allocations: 3.984 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.3439, allocations: 89.97 kB / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.344, allocations: 92.98 kB / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.344, allocations: 4 kB / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.3441, allocations: 0 / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.3441, allocations: 0 / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3441, allocations: 3.938 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001024/0.3442, allocations: 121.3 kB / 1.18 GB, free: 1.207 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3442, allocations: 0 / 1.18 GB, free: 1.207 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001909/0.3444, allocations: 12 kB / 1.18 GB, free: 1.195 MB / 0.92 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.0001227/0.3445, allocations: 99.28 kB / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.3446, allocations: 27.92 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3446, allocations: 0 / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.3447, allocations: 4 kB / 1.18 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.3448, allocations: 16.22 kB / 1.18 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.3452, allocations: 188.5 kB / 1.18 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3455, allocations: 0.6963 MB / 1.181 GB, free: 100 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.3455, allocations: 11.44 kB / 1.181 GB, free: 88 kB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.3455, allocations: 0 / 1.181 GB, free: 88 kB / 0.92 GB Notification: Performance of Templates: time 0.002391/0.3479, allocations: 0.8676 MB / 1.182 GB, free: 15.21 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.078622912056744]