Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_9_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.0008641/0.000864, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00504/0.00504, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.2/1.2, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.115/2.115, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002822, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5066, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0007555/0.5074, allocations: 0.5332 MB / 0.9557 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.885e-05/0.5075, allocations: 41.28 kB / 0.9557 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.5075, allocations: 5.031 kB / 0.9557 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.5076, allocations: 7.922 kB / 0.9557 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.5076, allocations: 5.031 kB / 0.9558 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.622e-05/0.5077, allocations: 11.31 kB / 0.9558 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.5078, allocations: 54.66 kB / 0.9558 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.5079, allocations: 38.81 kB / 0.9559 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.5079, allocations: 25.42 kB / 0.9559 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.914e-05/0.508, allocations: 20.61 kB / 0.9559 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.508, allocations: 1.219 kB / 0.9559 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.508, allocations: 2.25 kB / 0.9559 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.508, allocations: 18.14 kB / 0.9559 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.5081, allocations: 46.8 kB / 0.956 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.251e-05/0.5081, allocations: 74 kB / 0.956 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5081, allocations: 1.031 kB / 0.956 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5081, allocations: 0 / 0.956 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5082, allocations: 0 / 0.956 GB, free: 7.066 MB / 0.7169 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.0002667/0.5084, allocations: 365.3 kB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5085, allocations: 10.03 kB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.642e-05/0.5085, allocations: 36.78 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.5085, allocations: 21.62 kB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.5087, allocations: 194 kB / 0.9566 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.5087, allocations: 3.875 kB / 0.9566 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.5087, allocations: 9.125 kB / 0.9566 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.5088, allocations: 95.11 kB / 0.9567 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.5088, allocations: 3.938 kB / 0.9567 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.5088, allocations: 1 kB / 0.9567 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5088, allocations: 2.219 kB / 0.9567 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.5089, allocations: 40.2 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.5093, allocations: 437.7 kB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.74e-05/0.5094, allocations: 41.5 kB / 0.9572 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.5094, allocations: 15.16 kB / 0.9572 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.5094, allocations: 1.25 kB / 0.9573 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.5094, allocations: 39.69 kB / 0.9573 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5094, allocations: 0 / 0.9573 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001362/0.5096, allocations: 58.72 kB / 0.9573 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.5096, allocations: 82.36 kB / 0.9574 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.5097, allocations: 164.1 kB / 0.9576 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.5097, allocations: 25.7 kB / 0.9576 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.5098, allocations: 107.9 kB / 0.9577 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.5098, allocations: 5.312 kB / 0.9577 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.5098, allocations: 14.72 kB / 0.9577 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.661e-05/0.5098, allocations: 321.3 kB / 0.958 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.5098, allocations: 3.562 kB / 0.958 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.5099, allocations: 22.12 kB / 0.9581 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.5099, allocations: 26.22 kB / 0.9581 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5099, allocations: 0.625 kB / 0.9581 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.85e-05/0.51, allocations: 58.94 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.51, allocations: 9.188 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.51, allocations: 1.25 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.51, allocations: 5.094 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.5101, allocations: 8.938 kB / 0.9582 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5101, allocations: 5.078 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.5101, allocations: 10.16 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.5101, allocations: 1.188 kB / 0.9582 GB, free: 4.859 MB / 0.7169 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 4.356e-05/0.5102, allocations: 113 kB / 0.9583 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.5102, allocations: 12.59 kB / 0.9583 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.5102, allocations: 10.34 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5102, allocations: 4.953 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5103, allocations: 8.969 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5103, allocations: 0.9688 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.5105, allocations: 473.6 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5105, allocations: 1.906 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.5105, allocations: 1.812 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5105, allocations: 2.062 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.5106, allocations: 0 / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5106, allocations: 6.031 kB / 0.9588 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5106, allocations: 0 / 0.9588 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.404e-05/0.5106, allocations: 87.11 kB / 0.9589 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.5107, allocations: 86.8 kB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.5107, allocations: 2.031 kB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.5107, allocations: 0 / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-06/0.5107, allocations: 6.031 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.5107, allocations: 3.984 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.898e-05/0.5108, allocations: 121.5 kB / 0.9591 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5108, allocations: 3.938 kB / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001757/0.511, allocations: 7.812 kB / 0.9591 GB, free: 3.906 MB / 0.7169 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.0001877/0.5111, allocations: 0.6189 MB / 0.9597 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.001e-05/0.5112, allocations: 14.61 kB / 0.9597 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5112, allocations: 4 kB / 0.9597 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.5112, allocations: 8.781 kB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.5114, allocations: 8.938 kB / 0.9597 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007581/0.5122, allocations: 1.341 MB / 0.961 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.604e-05/0.5123, allocations: 0.6996 MB / 0.9617 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.5123, allocations: 4.562 kB / 0.9617 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.5123, allocations: 23.55 kB / 0.9617 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5123, allocations: 0 / 0.9617 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.065/2.577, allocations: 1.363 MB / 0.9631 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/2.577, allocations: 218.6 kB / 0.9633 GB, free: 388 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/4.147, allocations: 0 / 0.9633 GB, free: 388 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches