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.001849/0.001849, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002418/0.002418, allocations: 195.7 kB / 22.17 MB, free: 5.211 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.522/1.522, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.889/2.889, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.002043/0.002043, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.953/0.955, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002197/0.9572, allocations: 0.8353 MB / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001223/0.9573, allocations: 39.78 kB / 1.275 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.9574, allocations: 0 / 1.275 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.226e-05/0.9575, allocations: 7.875 kB / 1.275 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.873e-05/0.9575, allocations: 11.88 kB / 1.275 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.821e-05/0.9576, allocations: 23.97 kB / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.9577, allocations: 59.84 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.9579, allocations: 35.88 kB / 1.275 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.9579, allocations: 31.84 kB / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.178e-05/0.958, allocations: 27.8 kB / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.958, allocations: 8 kB / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-06/0.958, allocations: 4 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.9581, allocations: 19.92 kB / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.9581, allocations: 27.81 kB / 1.275 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.9582, allocations: 82.23 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.9582, allocations: 4 kB / 1.275 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9582, allocations: 4 kB / 1.275 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.9582, allocations: 0 / 1.275 GB, free: 3.316 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.0004824/0.9587, allocations: 379.1 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.9588, allocations: 8.031 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.9588, allocations: 12.84 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.959, allocations: 192.2 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.9591, allocations: 4.375 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.9591, allocations: 8.375 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.9592, allocations: 101.8 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.9592, allocations: 192 / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.9593, allocations: 7.938 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.9593, allocations: 0 / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.9593, allocations: 35.98 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.9599, allocations: 436.7 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/0.96, allocations: 45.16 kB / 1.276 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.96, allocations: 13.84 kB / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.96, allocations: 8.031 kB / 1.276 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.96, allocations: 34.56 kB / 1.276 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.96, allocations: 4 kB / 1.276 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001876/0.9602, allocations: 57.52 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.9603, allocations: 77.11 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.9604, allocations: 160.7 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.9605, allocations: 29.7 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.9605, allocations: 104 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-06/0.9606, allocations: 7.938 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.9606, allocations: 21.92 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9607, allocations: 322.8 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.9607, allocations: 4 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.3e-05/0.9608, allocations: 17.72 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.9608, allocations: 29.66 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9608, allocations: 7.875 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.443e-05/0.9609, allocations: 61.64 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.9609, allocations: 4 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.9609, allocations: 7.938 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.961, allocations: 0 / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.961, allocations: 7.938 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.961, allocations: 0 / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.9611, allocations: 11.92 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.9611, allocations: 4 kB / 1.277 GB, free: 0.8711 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.962e-05/0.9612, allocations: 116 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.9612, allocations: 11.95 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.9612, allocations: 15.81 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9612, allocations: 0 / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.9612, allocations: 0 / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9612, allocations: 4 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.9617, allocations: 466.7 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.9617, allocations: 7.984 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.9617, allocations: 8.062 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.9617, allocations: 4 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.9617, allocations: 0 / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.9617, allocations: 0 / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9617, allocations: 0 / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.436e-05/0.9618, allocations: 77.83 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.9619, allocations: 93.08 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.9619, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.228e-05/0.9619, allocations: 4 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.9619, allocations: 4 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.9619, allocations: 0 / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001021/0.962, allocations: 120.3 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.962, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000184/0.9622, allocations: 8 kB / 1.278 GB, free: 15.84 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.0001293/0.9623, allocations: 103.2 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.711e-05/0.9624, allocations: 19.94 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9624, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.9625, allocations: 8 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.9626, allocations: 7.938 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.9629, allocations: 174.5 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.9633, allocations: 0.7004 MB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.343e-05/0.9633, allocations: 8.422 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.9633, allocations: 11.44 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9633, allocations: 0 / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of Templates: time 0.003001/0.9663, allocations: 478.1 kB / 1.28 GB, free: 14.28 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 cvode -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.11798035679385]