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.001018/0.001018, 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.001003/0.001003, allocations: 194.6 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.167/2.167, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.553/0.5542, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001813/0.5561, allocations: 0.8222 MB / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.393e-05/0.5562, allocations: 41.23 kB / 0.9506 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.5562, allocations: 1.375 kB / 0.9506 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.5563, allocations: 11.86 kB / 0.9506 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.5564, allocations: 15.86 kB / 0.9506 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.847e-05/0.5564, allocations: 16.11 kB / 0.9506 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.5565, allocations: 60.66 kB / 0.9507 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.5566, allocations: 48.34 kB / 0.9507 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.5567, allocations: 24.17 kB / 0.9507 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.5567, allocations: 31.86 kB / 0.9508 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.5567, allocations: 9.5 kB / 0.9508 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.5568, allocations: 6.875 kB / 0.9508 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.5568, allocations: 14.67 kB / 0.9508 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.5568, allocations: 37.28 kB / 0.9508 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.069e-05/0.5569, allocations: 71.72 kB / 0.9509 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5569, allocations: 0 / 0.9509 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5569, allocations: 0 / 0.9509 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.5569, allocations: 1.375 kB / 0.9509 GB, free: 8.238 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.0003048/0.5572, allocations: 378.5 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5573, allocations: 16.23 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.5573, allocations: 37.5 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.5573, allocations: 10.34 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.5575, allocations: 193.8 kB / 0.9515 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.5575, allocations: 7.625 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.5575, allocations: 8.812 kB / 0.9515 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.5576, allocations: 87.86 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.5577, allocations: 3.938 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5577, allocations: 8.719 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5577, allocations: 2.188 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.825e-05/0.5577, allocations: 35.92 kB / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.5581, allocations: 437.1 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.034e-05/0.5582, allocations: 45.2 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.5582, allocations: 20.22 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.5582, allocations: 0 / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.5582, allocations: 32.03 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.5583, allocations: 0 / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001367/0.5584, allocations: 58.7 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.5584, allocations: 82.53 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.5585, allocations: 163.7 kB / 0.9525 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.76e-06/0.5585, allocations: 25.7 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.5586, allocations: 113 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.5586, allocations: 3.906 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.5586, allocations: 21.86 kB / 0.9526 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.019e-05/0.5587, allocations: 320.6 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.5587, allocations: 16.14 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.5587, allocations: 14.25 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.224e-05/0.5588, allocations: 25.91 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5588, allocations: 5.406 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.668e-05/0.5588, allocations: 58.22 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5588, allocations: 13.72 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.5589, allocations: 0 / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5589, allocations: 1.75 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.373e-05/0.5589, allocations: 5.375 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.5589, allocations: 0 / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.559, allocations: 6.844 kB / 0.9531 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.559, allocations: 5.406 kB / 0.9531 GB, free: 6.02 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.584e-05/0.559, allocations: 113.2 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.5591, allocations: 20.44 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.5591, allocations: 10.25 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5591, allocations: 5.375 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5591, allocations: 0 / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5591, allocations: 1.469 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.5594, allocations: 469.9 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5594, allocations: 3.938 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.5594, allocations: 3.812 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5594, allocations: 1.125 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.5594, allocations: 4 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5594, allocations: 4.953 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5594, allocations: 1.344 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.371e-05/0.5595, allocations: 74.38 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.5595, allocations: 95.56 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.5595, allocations: 0.7812 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.5596, allocations: 5.062 kB / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.5596, allocations: 5.156 kB / 0.9538 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.5596, allocations: 5.156 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.994e-05/0.5596, allocations: 121.2 kB / 0.954 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5596, allocations: 0 / 0.954 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001794/0.5598, allocations: 10.53 kB / 0.954 GB, free: 5.062 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.0002081/0.56, allocations: 0.6119 MB / 0.9546 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.869e-05/0.5601, allocations: 19.25 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5601, allocations: 0 / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.5601, allocations: 12.23 kB / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.5603, allocations: 8.75 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007747/0.5611, allocations: 1.319 MB / 0.9559 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.331e-05/0.5612, allocations: 0.702 MB / 0.9566 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.5612, allocations: 8.484 kB / 0.9566 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.5612, allocations: 27.23 kB / 0.9566 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5613, allocations: 0 / 0.9566 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7821/1.343, allocations: 1.532 MB / 0.9581 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/13.24, allocations: 6.453 kB / 0.9581 GB, free: 1.613 MB / 0.7169 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