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.001783/0.001783, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002055/0.002055, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.55/1.55, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.327/3.327, allocations: 0.49 GB / 0.7915 GB, free: 33.09 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.002162/0.002162, allocations: 69.39 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.438, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002504/0.4405, allocations: 0.8359 MB / 1.322 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001416/0.4406, allocations: 31.86 kB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.4407, allocations: 0 / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.4407, allocations: 15.86 kB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.4408, allocations: 15.86 kB / 1.322 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.456e-05/0.4409, allocations: 15.98 kB / 1.322 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.441, allocations: 67.83 kB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.4412, allocations: 35.92 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.74e-05/0.4413, allocations: 31.8 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.4414, allocations: 27.86 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.4414, allocations: 4 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.4414, allocations: 11.94 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.4414, allocations: 11.98 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.4415, allocations: 35.73 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.4416, allocations: 75.53 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4416, allocations: 3.984 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4416, allocations: 4 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.4417, allocations: 4 kB / 1.322 GB, free: 1.598 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.0005843/0.4422, allocations: 379.1 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4423, allocations: 15.98 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.4423, allocations: 8.891 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.4426, allocations: 192.2 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.4426, allocations: 12.31 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4426, allocations: 12.31 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.4428, allocations: 97.58 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4428, allocations: 192 / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4428, allocations: 7.938 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4428, allocations: 4 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.4429, allocations: 35.92 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.4436, allocations: 440.7 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.4436, allocations: 37.31 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.4437, allocations: 17.72 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.4437, allocations: 0 / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.4437, allocations: 34.56 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.4437, allocations: 4 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001998/0.4439, allocations: 65.47 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.444, allocations: 77.11 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.4442, allocations: 160.3 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.4442, allocations: 29.64 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.4443, allocations: 104 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-06/0.4443, allocations: 7.938 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.4443, allocations: 17.97 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4445, allocations: 322.8 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.4445, allocations: 8 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/0.4445, allocations: 17.66 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/0.4446, allocations: 25.72 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.4446, allocations: 0 / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.279e-05/0.4447, allocations: 65.58 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4447, allocations: 4 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4447, allocations: 3.938 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4447, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.4448, allocations: 8.094 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4448, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.4448, allocations: 7.953 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4448, allocations: 7.984 kB / 1.325 GB, free: 15.15 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 9.3e-05/0.4449, allocations: 121.9 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.445, allocations: 7.953 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.445, allocations: 7.812 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.445, allocations: 4 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.445, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.445, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.4455, allocations: 470.8 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4455, allocations: 4 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.4455, allocations: 11.98 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4455, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.4455, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4455, allocations: 3.938 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4455, allocations: 4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.4456, allocations: 77.84 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.4457, allocations: 101 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4457, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.4457, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.4457, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.4457, allocations: 7.938 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001069/0.4458, allocations: 121.1 kB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4458, allocations: 0 / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001925/0.446, allocations: 8 kB / 1.325 GB, free: 14.11 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.0001323/0.4462, allocations: 103.2 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.4463, allocations: 19.92 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4463, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.4463, allocations: 4 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.4465, allocations: 15.88 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.4468, allocations: 162.8 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.4472, allocations: 0.6926 MB / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.4472, allocations: 8.422 kB / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.4472, allocations: 11.44 kB / 1.326 GB, free: 13.02 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4472, allocations: 0 / 1.326 GB, free: 13.02 MB / 1.029 GB Notification: Performance of Templates: time 0.002928/0.4502, allocations: 468.4 kB / 1.327 GB, free: 12.57 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: 9.660601587966084]