Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.From_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_10_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.00108/0.00108, 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.001089/0.001089, allocations: 195.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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.475/2.475, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5661, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002307/0.5684, allocations: 0.8272 MB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.5686, allocations: 43.8 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.5687, allocations: 4 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.937e-05/0.5687, allocations: 7.875 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.061e-05/0.5688, allocations: 7.922 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.184e-05/0.5689, allocations: 15.98 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.569, allocations: 71.77 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.5691, allocations: 39.97 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.5692, allocations: 27.86 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.5693, allocations: 23.86 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.5693, allocations: 8 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.5693, allocations: 4 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.5693, allocations: 19.92 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.5694, allocations: 23.81 kB / 1.019 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.5695, allocations: 81.95 kB / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5695, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5695, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.5695, allocations: 0 / 1.019 GB, free: 1.301 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.0005092/0.57, allocations: 383.1 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5701, allocations: 8.031 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.5702, allocations: 46.67 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.5702, allocations: 8.844 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.5704, allocations: 188.2 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.5705, allocations: 8.375 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.5705, allocations: 8.375 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.5706, allocations: 97.67 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.5707, allocations: 3.938 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5707, allocations: 7.984 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.5707, allocations: 4 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.5708, allocations: 39.92 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.5713, allocations: 436.6 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.5714, allocations: 37.16 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.5715, allocations: 17.88 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.5715, allocations: 7.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.5715, allocations: 38.55 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.5715, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001692/0.5717, allocations: 57.48 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.5717, allocations: 77.11 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.5719, allocations: 164.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.5719, allocations: 29.95 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.572, allocations: 108 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.572, allocations: 7.906 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.5721, allocations: 17.72 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5722, allocations: 322.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.5722, allocations: 4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.5722, allocations: 21.72 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.5723, allocations: 33.64 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5723, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.828e-05/0.5724, allocations: 57.61 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5724, allocations: 7.938 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.5724, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5724, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.5725, allocations: 15.92 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5725, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.5726, allocations: 12.06 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.5726, allocations: 0 / 1.021 GB, free: 14.8 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 7.137e-05/0.5726, allocations: 113.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.5727, allocations: 15.83 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.5727, allocations: 15.86 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5727, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5727, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5727, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.5731, allocations: 470.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5731, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.5731, allocations: 7.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5731, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.5731, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5732, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5732, allocations: 3.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.931e-05/0.5732, allocations: 89.83 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.5733, allocations: 88.95 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.5733, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/0.5733, allocations: 3.984 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.5734, allocations: 3.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.5734, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.325e-05/0.5735, allocations: 125.3 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5735, allocations: 4.031 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001901/0.5737, allocations: 4 kB / 1.022 GB, free: 13.75 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.000331/0.574, allocations: 0.617 MB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.5741, allocations: 20.03 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5741, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.5741, allocations: 7.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.5743, allocations: 8 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.5754, allocations: 1.322 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.5756, allocations: 0.6923 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.5756, allocations: 12.42 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.5757, allocations: 23.44 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.5757, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.5926, allocations: 1.541 MB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.931, allocations: 8.016 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches