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.001594/0.001594, allocations: 108 kB / 15.6 MB, free: 132 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.001962/0.001962, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.483/2.483, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 68.14 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.548, allocations: 151.6 MB / 1.017 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001911/0.55, allocations: 0.8311 MB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001169/0.5501, allocations: 39.84 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.5501, allocations: 4 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.5502, allocations: 7.875 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.5503, allocations: 15.86 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.479e-05/0.5503, allocations: 15.98 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.5504, allocations: 63.84 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.5505, allocations: 39.97 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.5506, allocations: 31.8 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.5507, allocations: 27.86 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.5507, allocations: 4 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.5507, allocations: 8 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.5507, allocations: 11.92 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.5508, allocations: 35.8 kB / 1.019 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.073e-05/0.5509, allocations: 69.97 kB / 1.019 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5509, allocations: 4 kB / 1.019 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5509, allocations: 0 / 1.019 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5509, allocations: 3.984 kB / 1.019 GB, free: 1.402 MB / 0.7637 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.0003595/0.5513, allocations: 379.2 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.5513, allocations: 12.03 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.5513, allocations: 38.73 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.5514, allocations: 8.844 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.5516, allocations: 196.1 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5516, allocations: 12.38 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.5516, allocations: 8.375 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5517, allocations: 93.98 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5517, allocations: 3.938 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5518, allocations: 11.98 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5518, allocations: 0 / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.909e-05/0.5518, allocations: 39.86 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.5523, allocations: 436.6 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.5524, allocations: 33.16 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.5524, allocations: 21.84 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-06/0.5524, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.5525, allocations: 38.58 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.305e-06/0.5525, allocations: 3.984 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.5526, allocations: 57.48 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.5527, allocations: 77.11 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.5528, allocations: 167.2 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.5528, allocations: 29.95 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.5529, allocations: 108 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.5529, allocations: 3.906 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.5529, allocations: 13.72 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.553, allocations: 326.8 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.553, allocations: 4 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.5531, allocations: 21.7 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.5531, allocations: 33.66 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5531, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.014e-05/0.5532, allocations: 49.61 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5532, allocations: 11.94 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5532, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.5532, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.5533, allocations: 11.92 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5533, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.5534, allocations: 11.97 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5534, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 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 5.969e-05/0.5534, allocations: 109.8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.5535, allocations: 11.84 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.5535, allocations: 11.86 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.5535, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.5535, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.5535, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.5539, allocations: 474.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5539, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.5539, allocations: 11.94 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5539, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.5539, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5539, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5539, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.405e-05/0.554, allocations: 85.83 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.5541, allocations: 96.89 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.5541, allocations: 4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.5541, allocations: 3.984 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.5541, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.5541, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.732e-05/0.5542, allocations: 121.5 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5542, allocations: 4.031 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001888/0.5544, allocations: 12 kB / 1.022 GB, free: 13.86 MB / 0.7794 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.0003014/0.5547, allocations: 0.6131 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.267e-05/0.5548, allocations: 16.03 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5548, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.5548, allocations: 15.94 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.555, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.556, allocations: 1.318 MB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.5562, allocations: 0.6924 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.5563, allocations: 8.422 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.5563, allocations: 23.44 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5563, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.5897, allocations: 1.547 MB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.854/9.444, allocations: 8.875 kB / 1.026 GB, free: 9.527 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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