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.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.001425/0.001425, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001609/0.001609, allocations: 221.9 kB / 23 MB, free: 4.914 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.773/2.773, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 65.33 kB / 1.118 GB, free: 41.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3519, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002447/0.3543, allocations: 0.7987 MB / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000162/0.3545, allocations: 39.78 kB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.3546, allocations: 4 kB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.3546, allocations: 7.875 kB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.3547, allocations: 11.88 kB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.237e-05/0.3547, allocations: 15.98 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3549, allocations: 71.81 kB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.355, allocations: 23.98 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.3551, allocations: 27.8 kB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.3552, allocations: 27.86 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.3552, allocations: 4 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.3552, allocations: 8 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.3552, allocations: 15.92 kB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.3553, allocations: 27.81 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.3554, allocations: 83.56 kB / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3554, allocations: 0 / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3554, allocations: 0 / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3555, allocations: 0 / 1.285 GB, free: 10.76 MB / 0.9825 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.0005019/0.356, allocations: 312.1 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.356, allocations: 8.031 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.356, allocations: 12.89 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3563, allocations: 130.4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3563, allocations: 8.375 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.3563, allocations: 4.375 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3565, allocations: 106.1 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3565, allocations: 192 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3565, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3565, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.3566, allocations: 35.98 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.3572, allocations: 372.4 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.3572, allocations: 41.2 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.3573, allocations: 17.81 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3573, allocations: 3.938 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3573, allocations: 34.56 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.3573, allocations: 0 / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.3575, allocations: 57.52 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.3576, allocations: 77.11 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3577, allocations: 130.1 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3577, allocations: 29.7 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.3578, allocations: 107.9 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.3578, allocations: 11.95 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3579, allocations: 13.72 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.358, allocations: 318.8 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.358, allocations: 4 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.3581, allocations: 17.72 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.331e-05/0.3581, allocations: 25.66 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3581, allocations: 7.938 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.59e-05/0.3582, allocations: 61.64 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3582, allocations: 4 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3582, allocations: 0 / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3582, allocations: 3.938 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.3583, allocations: 11.94 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3583, allocations: 0 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.3583, allocations: 0 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3583, allocations: 4 kB / 1.287 GB, free: 8.613 MB / 0.9825 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 0.0001049/0.3584, allocations: 121.8 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3585, allocations: 8.016 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.3585, allocations: 15.41 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3585, allocations: 0 / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3585, allocations: 0 / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3585, allocations: 0 / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.3589, allocations: 410.5 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3589, allocations: 3.938 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.3589, allocations: 4 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3589, allocations: 0 / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.359, allocations: 4 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.359, allocations: 4.062 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.359, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.852e-05/0.3591, allocations: 77.88 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.3591, allocations: 11.94 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.3591, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.3591, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.3591, allocations: 11.92 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.3591, allocations: 0 / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.735e-05/0.3592, allocations: 98.77 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3592, allocations: 0 / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000189/0.3594, allocations: 19.98 kB / 1.288 GB, free: 7.766 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.0001127/0.3595, allocations: 95.25 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.129e-05/0.3596, allocations: 15.94 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3596, allocations: 0 / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-05/0.3596, allocations: 7.984 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.3598, allocations: 11.94 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.3601, allocations: 184.3 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.976e-05/0.3602, allocations: 91.38 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.3602, allocations: 11.44 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3602, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of Templates: time 0.002373/0.3626, allocations: 0.8071 MB / 1.289 GB, free: 6.48 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 -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/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: 10.861016518902034]