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.001251/0.001251, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001289/0.001289, allocations: 191.4 kB / 16.25 MB, free: 6.629 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.237/1.237, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.366/2.366, allocations: 437.1 MB / 0.7101 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 71.88 kB / 0.8689 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4944, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002129/0.4966, allocations: 0.8782 MB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000113/0.4967, allocations: 39.78 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.4968, allocations: 7.938 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.4968, allocations: 3.938 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.4969, allocations: 11.92 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.844e-05/0.4969, allocations: 12 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.497, allocations: 59.84 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.4971, allocations: 43.97 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.4972, allocations: 31.78 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.4973, allocations: 27.86 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.4973, allocations: 4 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.4973, allocations: 8 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.4973, allocations: 15.92 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.4973, allocations: 31.81 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.532e-05/0.4974, allocations: 73.94 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4975, allocations: 0 / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4975, allocations: 4 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.4975, allocations: 0 / 1.018 GB, free: 1.535 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.0003565/0.4978, allocations: 383.2 kB / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.4979, allocations: 12.03 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.4979, allocations: 38.73 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.498, allocations: 12.78 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.4981, allocations: 188.2 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-06/0.4981, allocations: 8.375 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.4982, allocations: 4.375 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.4983, allocations: 107.8 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4983, allocations: 7.938 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.4983, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4983, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.4984, allocations: 35.98 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.4989, allocations: 436.6 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.4989, allocations: 37.16 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.499, allocations: 25.83 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.499, allocations: 96 / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.499, allocations: 38.5 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.499, allocations: 0 / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001621/0.4992, allocations: 57.48 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.4992, allocations: 77.11 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.4994, allocations: 168.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.4994, allocations: 25.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.4994, allocations: 108.2 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-06/0.4995, allocations: 11.84 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.4995, allocations: 21.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.4996, allocations: 318.8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.4996, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.4996, allocations: 21.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.4997, allocations: 33.66 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4997, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.561e-05/0.4998, allocations: 53.59 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4998, allocations: 11.94 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4998, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4998, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.4999, allocations: 15.94 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.4999, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.4999, allocations: 3.906 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.4999, allocations: 4 kB / 1.02 GB, free: 15.04 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 6.406e-05/0.5, allocations: 118.4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.5, allocations: 11.84 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.5001, allocations: 11.86 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5001, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5001, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.5001, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.5004, allocations: 474.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5004, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.5005, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5005, allocations: 3.938 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.5005, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5005, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5005, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.325e-05/0.5006, allocations: 89.83 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.5006, allocations: 92.94 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.5006, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.5007, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.5007, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.5007, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.493e-05/0.5008, allocations: 120.7 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5008, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001802/0.5009, allocations: 8 kB / 1.021 GB, free: 14 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.0002965/0.5012, allocations: 0.621 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.5013, allocations: 16 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5013, allocations: 4.156 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.5014, allocations: 11.88 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.5015, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.5025, allocations: 1.347 MB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.5027, allocations: 0.6924 MB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.5027, allocations: 8.422 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.5028, allocations: 23.44 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5028, allocations: 7.938 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.5128, allocations: 1.463 MB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.513, allocations: 222.4 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/1.958, allocations: 0 / 1.026 GB, free: 9.504 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