Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00475/0.00475, allocations: 99.34 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 195.9 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 75.86 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2296, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00191/0.2316, allocations: 0.8293 MB / 1.088 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/0.2317, allocations: 39.8 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.2318, allocations: 0 / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.135e-05/0.2319, allocations: 11.86 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.2319, allocations: 11.94 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.417e-05/0.232, allocations: 15.98 kB / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.2321, allocations: 63.77 kB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.2322, allocations: 47.95 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.955e-05/0.2323, allocations: 23.88 kB / 1.089 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.2324, allocations: 27.84 kB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.2324, allocations: 8 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.2324, allocations: 8 kB / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2324, allocations: 15.92 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.2325, allocations: 35.75 kB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.2326, allocations: 79.8 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2326, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2326, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2326, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 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.0003889/0.233, allocations: 383.1 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2331, allocations: 12.03 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.2331, allocations: 38.73 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.2331, allocations: 16.89 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.2333, allocations: 192.2 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2334, allocations: 8.375 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.2334, allocations: 4.375 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.2335, allocations: 87.95 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.2335, allocations: 7.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2336, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2336, allocations: 3.984 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.752e-05/0.2337, allocations: 35.92 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.2342, allocations: 444.6 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.2342, allocations: 37.28 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.2343, allocations: 25.84 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.2343, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.2343, allocations: 34.55 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2343, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.2345, allocations: 57.53 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.2345, allocations: 77.11 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.2347, allocations: 161.1 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.2347, allocations: 33.64 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.2348, allocations: 112 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.2348, allocations: 7.891 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.2348, allocations: 13.72 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2349, allocations: 322.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.2349, allocations: 7.938 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.235, allocations: 17.72 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.235, allocations: 33.7 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.235, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.244e-05/0.2351, allocations: 53.59 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2351, allocations: 12.88 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2351, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2351, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.2352, allocations: 7.984 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.2352, allocations: 8.062 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.2353, allocations: 7.953 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2353, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 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 7.239e-05/0.2353, allocations: 109.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.2354, allocations: 11.89 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.2354, allocations: 11.86 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2354, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2354, allocations: 4 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2355, allocations: 3.938 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.2358, allocations: 470.8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2358, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.2359, allocations: 7.938 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2359, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.2359, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2359, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2359, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.223e-05/0.236, allocations: 89.94 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.236, allocations: 85.06 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.236, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.2361, allocations: 3.984 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.2361, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.2361, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.08e-05/0.2362, allocations: 129.2 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2362, allocations: 3.938 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000201/0.2364, allocations: 19.89 kB / 1.092 GB, free: 13.24 MB / 0.8575 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.0003237/0.2367, allocations: 0.6093 MB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.077e-05/0.2368, allocations: 23.91 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2368, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.2368, allocations: 8 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.237, allocations: 5.891 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2381, allocations: 1.328 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.2383, allocations: 0.7006 MB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.2384, allocations: 4.438 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.2384, allocations: 27.42 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.2384, allocations: 0 / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.2545, allocations: 1.579 MB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.268, allocations: 5.969 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches