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.001628/0.001628, allocations: 118.6 kB / 17.13 MB, free: 5.938 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.001689/0.001689, allocations: 204.8 kB / 20.09 MB, free: 2.992 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.478/1.478, allocations: 230.6 MB / 253.5 MB, free: 8.934 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.186/3.186, allocations: 0.49 GB / 0.7923 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 177] 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.002003/0.002003, allocations: 78.42 kB / 1.15 GB, free: 26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3019, allocations: 176.1 MB / 1.322 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002095/0.304, allocations: 0.8324 MB / 1.323 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001157/0.3041, allocations: 39.78 kB / 1.323 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.3042, allocations: 4 kB / 1.323 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.3042, allocations: 7.875 kB / 1.323 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.3043, allocations: 11.92 kB / 1.323 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.646e-05/0.3044, allocations: 19.98 kB / 1.323 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3045, allocations: 67.78 kB / 1.323 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3046, allocations: 31.91 kB / 1.323 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.3047, allocations: 31.86 kB / 1.323 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.3047, allocations: 23.86 kB / 1.323 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3047, allocations: 4 kB / 1.323 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.848e-05/0.3048, allocations: 8 kB / 1.323 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.3048, allocations: 11.92 kB / 1.323 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.3048, allocations: 35.75 kB / 1.323 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.3049, allocations: 87.5 kB / 1.323 GB, free: 1.543 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3049, allocations: 4 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3049, allocations: 0 / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3049, allocations: 0 / 1.323 GB, free: 1.539 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.0005156/0.3055, allocations: 383.1 kB / 1.324 GB, free: 1.113 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3055, allocations: 11.98 kB / 1.324 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.3055, allocations: 12.88 kB / 1.324 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.3058, allocations: 192.2 kB / 1.324 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3058, allocations: 4.375 kB / 1.324 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3058, allocations: 8.375 kB / 1.324 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.306, allocations: 95.86 kB / 1.324 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.306, allocations: 192 / 1.324 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.306, allocations: 7.938 kB / 1.324 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.306, allocations: 4 kB / 1.324 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.3061, allocations: 39.91 kB / 1.324 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.3067, allocations: 440.6 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.916e-05/0.3067, allocations: 37.34 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.3068, allocations: 17.78 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.3068, allocations: 0 / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3068, allocations: 42.5 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3068, allocations: 0 / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000175/0.307, allocations: 61.47 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.307, allocations: 77.11 kB / 1.325 GB, free: 15.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3072, allocations: 161.3 kB / 1.325 GB, free: 15.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.3072, allocations: 25.7 kB / 1.325 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.3073, allocations: 108 kB / 1.325 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.3073, allocations: 12.2 kB / 1.325 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.3073, allocations: 21.66 kB / 1.325 GB, free: 15.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3075, allocations: 318.8 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.3075, allocations: 12 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.3075, allocations: 13.72 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.3076, allocations: 29.7 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3076, allocations: 4 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.658e-05/0.3076, allocations: 57.59 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3077, allocations: 4 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3077, allocations: 3.938 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3077, allocations: 4 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/0.3077, allocations: 7.984 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3077, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.3078, allocations: 7.953 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3078, allocations: 4 kB / 1.325 GB, free: 15.09 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 8.737e-05/0.3079, allocations: 113.9 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.3079, allocations: 7.953 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.3079, allocations: 15.81 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3079, allocations: 3.938 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3079, allocations: 3.984 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.308, allocations: 0 / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.3084, allocations: 470.9 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3084, allocations: 3.938 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.3084, allocations: 4 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3084, allocations: 0 / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3084, allocations: 4 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3084, allocations: 0 / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3084, allocations: 0 / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.3085, allocations: 85.86 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.3086, allocations: 93 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.3086, allocations: 0 / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.3086, allocations: 0 / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.3086, allocations: 12.06 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.3086, allocations: 3.938 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001034/0.3087, allocations: 125.2 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3087, allocations: 3.938 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001885/0.3089, allocations: 8 kB / 1.326 GB, free: 14.04 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.0001138/0.309, allocations: 103.3 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.339e-05/0.3091, allocations: 8 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.3091, allocations: 4 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.3092, allocations: 7.938 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.3093, allocations: 11.94 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.3096, allocations: 188.7 kB / 1.327 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.31, allocations: 0.6924 MB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.31, allocations: 11.44 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.31, allocations: 0 / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of Templates: time 0.002376/0.3124, allocations: 0.8677 MB / 1.328 GB, free: 12.07 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/jenkins1/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.826560804998735]