Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.To_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.005067/0.005067, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001301/0.001301, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2463, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001857/0.2482, allocations: 0.8281 MB / 1.167 GB, free: 6.473 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/0.2483, allocations: 39.8 kB / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.2484, allocations: 0 / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.2484, allocations: 11.88 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.2485, allocations: 19.86 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.206e-05/0.2486, allocations: 11.98 kB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.2487, allocations: 67.83 kB / 1.167 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2488, allocations: 39.98 kB / 1.167 GB, free: 6.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.574e-05/0.2489, allocations: 31.8 kB / 1.167 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.2489, allocations: 31.8 kB / 1.167 GB, free: 6.223 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.249, allocations: 4 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.249, allocations: 8 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.249, allocations: 15.92 kB / 1.167 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.249, allocations: 27.81 kB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.2492, allocations: 83.78 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2492, allocations: 0 / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2492, allocations: 8 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.2492, allocations: 0 / 1.167 GB, free: 6.078 MB / 0.92 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.000395/0.2496, allocations: 379 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2496, allocations: 12.03 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.2497, allocations: 38.73 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.2497, allocations: 16.84 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.2499, allocations: 188.3 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2499, allocations: 4.375 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.2499, allocations: 8.375 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2501, allocations: 103.8 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2501, allocations: 3.938 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2501, allocations: 4 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2501, allocations: 0 / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.2502, allocations: 39.92 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.2507, allocations: 436.7 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.125e-05/0.2508, allocations: 41.17 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.2508, allocations: 21.84 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.2508, allocations: 3.984 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.2508, allocations: 34.56 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2508, allocations: 0 / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002029/0.2511, allocations: 61.53 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.2511, allocations: 77.11 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.2513, allocations: 155.5 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2513, allocations: 25.7 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.2514, allocations: 104.1 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.2514, allocations: 8.141 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.2514, allocations: 21.72 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.2515, allocations: 318.8 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.2516, allocations: 8 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.2516, allocations: 21.7 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.2516, allocations: 25.66 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2516, allocations: 4 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.589e-05/0.2517, allocations: 61.55 kB / 1.169 GB, free: 3.625 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2518, allocations: 13.81 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2518, allocations: 3.984 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2518, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.2518, allocations: 8 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2519, allocations: 0 / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.2519, allocations: 0 / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2519, allocations: 8 kB / 1.17 GB, free: 3.594 MB / 0.92 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.379e-05/0.252, allocations: 117.9 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.252, allocations: 11.89 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.2521, allocations: 11.8 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2521, allocations: 4 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2521, allocations: 3.938 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2521, allocations: 0 / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.2524, allocations: 474.7 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2525, allocations: 4.062 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.2525, allocations: 4 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2525, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.2525, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2525, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2525, allocations: 7.938 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.189e-05/0.2526, allocations: 85.88 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.2527, allocations: 81.06 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2527, allocations: 7.984 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.2527, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-06/0.2527, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.2527, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8e-05/0.2528, allocations: 122.5 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2528, allocations: 0 / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001979/0.253, allocations: 15.94 kB / 1.17 GB, free: 2.547 MB / 0.92 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.0003185/0.2533, allocations: 0.6171 MB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.356e-05/0.2534, allocations: 20 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2534, allocations: 3.938 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.457e-05/0.2535, allocations: 12.16 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.2536, allocations: 4 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2547, allocations: 1.325 MB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.255, allocations: 0.6967 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.255, allocations: 8.438 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.2551, allocations: 27.42 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2551, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.2713, allocations: 1.571 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.376, allocations: 9.828 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches