Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_9_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.00787/0.00787, allocations: 99.83 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.001842/0.001842, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.407/2.407, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.64 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2652, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00211/0.2673, allocations: 0.8232 MB / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.2675, allocations: 47.78 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.2676, allocations: 4 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.2676, allocations: 7.875 kB / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.953e-05/0.2677, allocations: 7.875 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.873e-05/0.2678, allocations: 15.98 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2679, allocations: 63.83 kB / 1.088 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.268, allocations: 43.97 kB / 1.088 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.2681, allocations: 31.8 kB / 1.089 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.2681, allocations: 23.86 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.2682, allocations: 8 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.2682, allocations: 8 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.2682, allocations: 19.91 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.2683, allocations: 39.75 kB / 1.089 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.2684, allocations: 74.45 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2684, allocations: 0 / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2684, allocations: 0 / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.2684, allocations: 0 / 1.089 GB, free: 0.7617 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.0004288/0.2689, allocations: 376.1 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2689, allocations: 12.03 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.269, allocations: 42.73 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.269, allocations: 16.75 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.2692, allocations: 188.2 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2692, allocations: 4.375 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.2692, allocations: 12.31 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.2694, allocations: 91.94 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2694, allocations: 3.938 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2695, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2695, allocations: 8 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.91e-05/0.2696, allocations: 43.86 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.2701, allocations: 428.6 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.312e-05/0.2701, allocations: 41.25 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.2702, allocations: 17.78 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.2702, allocations: 3.984 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2702, allocations: 42.56 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 3.156e-06/0.2702, allocations: 3.984 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001692/0.2704, allocations: 53.48 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.2705, allocations: 81.36 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2706, allocations: 156.9 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2706, allocations: 29.7 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.2707, allocations: 104 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.2707, allocations: 7.906 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.2707, allocations: 17.72 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.2708, allocations: 318.8 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.2709, allocations: 4 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.2709, allocations: 29.64 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.2709, allocations: 21.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2709, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.187e-05/0.271, allocations: 61.55 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.271, allocations: 7.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.271, allocations: 3.984 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2711, allocations: 8.062 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.7e-05/0.2711, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2711, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.2712, allocations: 11.84 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.2712, allocations: 0 / 1.091 GB, free: 14.28 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 6.719e-05/0.2713, allocations: 113.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.2713, allocations: 11.84 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.2713, allocations: 15.86 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2713, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2714, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2714, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.2717, allocations: 466.8 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2717, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.2718, allocations: 4 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2718, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2718, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2718, allocations: 8 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2718, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.924e-05/0.2719, allocations: 85.77 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.2719, allocations: 85.02 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.272, allocations: 3.984 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.272, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.272, allocations: 8.031 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.272, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.788e-05/0.2721, allocations: 129.2 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2721, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001864/0.2723, allocations: 8 kB / 1.092 GB, free: 13.23 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.0003739/0.2727, allocations: 0.617 MB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.849e-05/0.2728, allocations: 19.94 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2728, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.2728, allocations: 4 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.2729, allocations: 14.25 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2741, allocations: 1.336 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.2743, allocations: 0.6967 MB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.2744, allocations: 4.438 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.2744, allocations: 27.42 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2744, allocations: 0 / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.2896, allocations: 1.587 MB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/8.534, allocations: 13.09 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches