Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_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.001125/0.001126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 469.4 MB / 0.742 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 65.41 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2477, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002015/0.2497, allocations: 0.8312 MB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001059/0.2498, allocations: 35.8 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.2499, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.2499, allocations: 11.86 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.25, allocations: 15.92 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.451e-05/0.2501, allocations: 15.98 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.2502, allocations: 71.78 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.2503, allocations: 39.97 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.352e-05/0.2504, allocations: 27.86 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.2504, allocations: 27.86 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.2504, allocations: 4 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.2505, allocations: 8 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.2505, allocations: 15.92 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.2505, allocations: 31.75 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.2506, allocations: 75.97 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2506, allocations: 4 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2506, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2507, allocations: 3.938 kB / 1.065 GB, free: 13.35 MB / 0.8262 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.0003556/0.251, allocations: 371.3 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2511, allocations: 8.031 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.2511, allocations: 42.73 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.2511, allocations: 16.73 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.2513, allocations: 188.2 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2513, allocations: 8.375 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.2514, allocations: 8.375 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.2515, allocations: 96.97 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2515, allocations: 7.938 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2515, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2515, allocations: 4 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.2516, allocations: 35.86 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.2521, allocations: 440.6 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.2522, allocations: 37.31 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.2522, allocations: 25.7 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.2522, allocations: 0 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.2523, allocations: 38.56 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2523, allocations: 4 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001554/0.2524, allocations: 53.48 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2525, allocations: 77.11 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2526, allocations: 164.6 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.2526, allocations: 25.7 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.2527, allocations: 104 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.2527, allocations: 7.906 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.2527, allocations: 13.95 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.2528, allocations: 322.8 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.2529, allocations: 8 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.2529, allocations: 17.7 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.955e-05/0.2529, allocations: 29.66 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2529, allocations: 0 / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.556e-05/0.253, allocations: 65.53 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2531, allocations: 7.938 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2531, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2531, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.2531, allocations: 8 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2532, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.2532, allocations: 15.84 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.2532, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 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 6.551e-05/0.2533, allocations: 113.8 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.2533, allocations: 19.84 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.2534, allocations: 11.86 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2534, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2534, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2534, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.2537, allocations: 470.8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2537, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.2538, allocations: 8.062 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2538, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2538, allocations: 3.984 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.386e-05/0.2539, allocations: 77.78 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.2539, allocations: 96.94 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2539, allocations: 4.031 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.254, allocations: 0 / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.254, allocations: 0 / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.254, allocations: 4 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.711e-05/0.2541, allocations: 119.2 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2541, allocations: 0 / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001927/0.2543, allocations: 8 kB / 1.068 GB, free: 9.836 MB / 0.8262 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.000322/0.2546, allocations: 0.6244 MB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.224e-05/0.2547, allocations: 16 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2547, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.2547, allocations: 11.94 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.2549, allocations: 18.39 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2559, allocations: 1.311 MB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.2561, allocations: 0.697 MB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.2562, allocations: 12.41 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.2562, allocations: 23.44 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2562, allocations: 0 / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.2729, allocations: 1.546 MB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.218, allocations: 14.62 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches