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.001379/0.001379, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001589/0.001589, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.766/2.766, allocations: 476.7 MB / 0.7714 GB, free: 4.34 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.002025/0.002025, allocations: 67.44 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2952, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002054/0.2973, allocations: 0.8291 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001185/0.2974, allocations: 47.78 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.2974, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.2975, allocations: 11.86 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.2975, allocations: 7.875 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.258e-05/0.2976, allocations: 19.98 kB / 1.286 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.2977, allocations: 59.84 kB / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.2979, allocations: 43.83 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.2979, allocations: 27.81 kB / 1.286 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.298, allocations: 31.78 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.298, allocations: 8 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.298, allocations: 8 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.298, allocations: 15.94 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.2981, allocations: 31.8 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.2982, allocations: 75.58 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2982, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2982, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2982, allocations: 0 / 1.286 GB, free: 10.05 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.0004214/0.2987, allocations: 314.1 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2987, allocations: 12.03 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.2987, allocations: 8.891 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.2989, allocations: 130.4 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2989, allocations: 4.375 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.2989, allocations: 12.38 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.2991, allocations: 98.45 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2991, allocations: 192 / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2991, allocations: 7.938 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2991, allocations: 4 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.2992, allocations: 43.91 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.2998, allocations: 403.8 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.2998, allocations: 37.31 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.2999, allocations: 21.72 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.2999, allocations: 7.922 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.2999, allocations: 38.56 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2999, allocations: 0 / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.3001, allocations: 53.53 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.3001, allocations: 77.36 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3003, allocations: 168.4 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.3003, allocations: 25.7 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.3004, allocations: 104 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.839e-06/0.3004, allocations: 7.953 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.3004, allocations: 13.72 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3006, allocations: 322.8 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.3006, allocations: 4 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.3006, allocations: 25.7 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.442e-05/0.3007, allocations: 25.66 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3007, allocations: 3.938 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.018e-05/0.3008, allocations: 61.59 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3008, allocations: 4 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3008, allocations: 7.922 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3008, allocations: 64 / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.3009, allocations: 12 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3009, allocations: 0 / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.3009, allocations: 11.89 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.3009, allocations: 0 / 1.288 GB, free: 7.797 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 8.679e-05/0.301, allocations: 113.8 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.301, allocations: 7.953 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.3011, allocations: 19.73 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3011, allocations: 0 / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3011, allocations: 0 / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3011, allocations: 4 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.3015, allocations: 441.8 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3015, allocations: 0 / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.3015, allocations: 4 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3015, allocations: 0 / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3015, allocations: 4 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3015, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3015, allocations: 8 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.3016, allocations: 81.81 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.3016, allocations: 15.91 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3017, allocations: 4 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.3017, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.3017, allocations: 7.984 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3017, allocations: 4.031 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.324e-05/0.3018, allocations: 121.3 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3018, allocations: 0 / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001902/0.302, allocations: 8 kB / 1.289 GB, free: 6.883 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.0001062/0.3021, allocations: 91.25 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.02e-05/0.3022, allocations: 19.94 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3022, allocations: 0 / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.3022, allocations: 12.12 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.3023, allocations: 11.94 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.3027, allocations: 180.4 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.303, allocations: 0.6924 MB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.303, allocations: 11.44 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.303, allocations: 4.125 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of Templates: time 0.002477/0.3055, allocations: 0.8733 MB / 1.29 GB, free: 4.918 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.818339626974193]