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.001589/0.001589, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001738/0.001738, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.58/3.58, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002078/0.002078, allocations: 66.31 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4342, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.003222/0.4374, allocations: 0.7997 MB / 1.326 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002078/0.4376, allocations: 39.8 kB / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.4377, allocations: 4 kB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.666e-05/0.4377, allocations: 7.875 kB / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.4379, allocations: 7.875 kB / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.84e-05/0.4379, allocations: 31.91 kB / 1.326 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.4381, allocations: 63.83 kB / 1.326 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.4383, allocations: 23.98 kB / 1.326 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.4384, allocations: 31.86 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.4385, allocations: 27.73 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.4385, allocations: 4 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.4385, allocations: 8 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.4386, allocations: 7.984 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.4386, allocations: 27.81 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.439, allocations: 83.56 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.439, allocations: 0 / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.439, allocations: 4 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.439, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 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.0006468/0.4397, allocations: 305.9 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4397, allocations: 8.031 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.4398, allocations: 12.89 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.4401, allocations: 126.4 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.4401, allocations: 8.375 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.4402, allocations: 8.375 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.4404, allocations: 101.2 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.4404, allocations: 4.188 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.4405, allocations: 7.938 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.4405, allocations: 4 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.4406, allocations: 27.98 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.4414, allocations: 368.3 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.4415, allocations: 33.22 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.4416, allocations: 17.78 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.4416, allocations: 4.031 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.677e-05/0.4416, allocations: 34.56 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.964e-06/0.4416, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002815/0.4419, allocations: 61.52 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.442, allocations: 77.11 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.4422, allocations: 125.8 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.4422, allocations: 25.7 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4423, allocations: 111.9 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.4424, allocations: 7.953 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.4424, allocations: 17.72 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4426, allocations: 314.8 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.4427, allocations: 12.25 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.4427, allocations: 17.66 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.609e-05/0.4428, allocations: 33.66 kB / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4428, allocations: 0 / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001354/0.4429, allocations: 53.64 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4429, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4429, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/0.443, allocations: 7.938 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.4431, allocations: 12 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4431, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.4431, allocations: 3.984 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.4431, allocations: 12 kB / 1.329 GB, free: 14.5 MB / 1.029 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.000134/0.4433, allocations: 113.8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.4433, allocations: 7.953 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.4434, allocations: 11.5 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4434, allocations: 3.984 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4434, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.4434, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.444, allocations: 410.5 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.444, allocations: 7.938 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.444, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.444, allocations: 4 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.444, allocations: 3.938 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4441, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4441, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.4442, allocations: 81.88 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.4443, allocations: 11.89 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.4443, allocations: 3.984 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.697e-05/0.4443, allocations: 4.094 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.4443, allocations: 4 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.4443, allocations: 0 / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001032/0.4444, allocations: 101.5 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4444, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003223/0.4448, allocations: 8 kB / 1.329 GB, free: 13.65 MB / 1.029 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.0001744/0.4449, allocations: 99.23 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.4451, allocations: 19.92 kB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.4451, allocations: 4.125 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.52e-05/0.4451, allocations: 4 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.4453, allocations: 12.97 kB / 1.329 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.4459, allocations: 158.7 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.446, allocations: 87.11 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.446, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.446, allocations: 15.5 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.446, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of Templates: time 0.004117/0.4502, allocations: 373.5 kB / 1.33 GB, free: 12.83 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.017365083098412]