Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001705/0.001705, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002125/0.002125, allocations: 216.2 kB / 22.25 MB, free: 4.855 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.809 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.882/2.882, allocations: 476 MB / 0.7699 GB, free: 4.723 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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) [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.0021/0.0021, allocations: 65.45 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3374, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00236/0.3398, allocations: 0.8022 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001569/0.34, allocations: 35.8 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.34, allocations: 4 kB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.908e-05/0.3401, allocations: 7.875 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3402, allocations: 15.84 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.325e-05/0.3402, allocations: 19.98 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3404, allocations: 63.84 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3405, allocations: 25.67 kB / 1.284 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.3406, allocations: 35.8 kB / 1.284 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.3407, allocations: 19.86 kB / 1.284 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3407, allocations: 4 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.3407, allocations: 11.94 kB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.3407, allocations: 15.98 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.3408, allocations: 23.8 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.3409, allocations: 79.16 kB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3409, allocations: 3.938 kB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3409, allocations: 4 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.341, allocations: 0 / 1.284 GB, free: 11.28 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.0005216/0.3415, allocations: 316.1 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3415, allocations: 12.03 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/0.3416, allocations: 34.75 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.3416, allocations: 8.891 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.3418, allocations: 134.4 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3418, allocations: 4.375 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.3419, allocations: 12.36 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.3421, allocations: 106.1 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3421, allocations: 7.938 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3421, allocations: 0 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3421, allocations: 0 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.3422, allocations: 39.92 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.3428, allocations: 387.9 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.572e-05/0.3429, allocations: 45.17 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.3429, allocations: 21.78 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.3429, allocations: 4 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3429, allocations: 34.56 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.3429, allocations: 0 / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002077/0.3432, allocations: 57.53 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.3432, allocations: 81.09 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3434, allocations: 154.3 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3434, allocations: 25.7 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.3435, allocations: 108 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.286e-06/0.3435, allocations: 3.953 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.3435, allocations: 21.7 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3437, allocations: 319.1 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.3437, allocations: 11.98 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.3438, allocations: 17.72 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.3438, allocations: 29.66 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3438, allocations: 0 / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.516e-05/0.3439, allocations: 61.58 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3439, allocations: 7.938 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3439, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3439, allocations: 4 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.344, allocations: 8.062 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.344, allocations: 0 / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.344, allocations: 7.953 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.3441, allocations: 0 / 1.286 GB, free: 9.004 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 9.865e-05/0.3442, allocations: 113.8 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.3442, allocations: 11.89 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.3442, allocations: 19.73 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3442, allocations: 0 / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3442, allocations: 0 / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3442, allocations: 0 / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.3447, allocations: 445.8 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3447, allocations: 0 / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.3447, allocations: 4 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.3447, allocations: 4 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.3447, allocations: 0 / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3447, allocations: 7.922 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3447, allocations: 0 / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.3448, allocations: 85.83 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.3449, allocations: 15.89 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3449, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.3449, allocations: 4.094 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.3449, allocations: 4 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.3449, allocations: 4 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001022/0.345, allocations: 122.1 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.345, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001923/0.3452, allocations: 8 kB / 1.287 GB, free: 8.086 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.0004795/0.3457, allocations: 0.6132 MB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.104e-05/0.3458, allocations: 12.09 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3458, allocations: 8.062 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.3458, allocations: 7.938 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.346, allocations: 7.984 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3474, allocations: 1.333 MB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.305e-05/0.3475, allocations: 83.14 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.3475, allocations: 16.62 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.3476, allocations: 19.44 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of SimCode: time 4.6e-07/0.3476, allocations: 0 / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.3793, allocations: 2.093 MB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.98, allocations: 0.5 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.012021553702652]