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.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.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.001048/0.001048, 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.001053/0.001053, allocations: 192.8 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.147/2.147, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.4604, allocations: 140.4 MB / 0.9497 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001672/0.4621, allocations: 0.8115 MB / 0.9505 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.305e-05/0.4622, allocations: 44.97 kB / 0.9506 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.4622, allocations: 1.188 kB / 0.9506 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.4623, allocations: 11.81 kB / 0.9506 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.4623, allocations: 9.078 kB / 0.9506 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.791e-05/0.4624, allocations: 22.92 kB / 0.9506 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.514e-05/0.4625, allocations: 59.88 kB / 0.9507 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.4626, allocations: 44.98 kB / 0.9507 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.4626, allocations: 20.16 kB / 0.9507 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.4627, allocations: 40.19 kB / 0.9508 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.4627, allocations: 5.844 kB / 0.9508 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-06/0.4627, allocations: 5.375 kB / 0.9508 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.4627, allocations: 10.66 kB / 0.9508 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.4627, allocations: 34.36 kB / 0.9508 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.239e-05/0.4628, allocations: 79.08 kB / 0.9509 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4628, allocations: 0 / 0.9509 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4628, allocations: 1.781 kB / 0.9509 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.4628, allocations: 0 / 0.9509 GB, free: 8.418 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.0002674/0.4631, allocations: 385.8 kB / 0.9513 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.4632, allocations: 9.688 kB / 0.9513 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.18e-05/0.4632, allocations: 37.34 kB / 0.9513 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.4632, allocations: 13.3 kB / 0.9513 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.4633, allocations: 186.4 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.4633, allocations: 7.812 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.4634, allocations: 5.5 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.4635, allocations: 92.42 kB / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.4635, allocations: 9.188 kB / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.4635, allocations: 4 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4635, allocations: 2.656 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.032e-05/0.4636, allocations: 39.03 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.4639, allocations: 433.7 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.634e-05/0.464, allocations: 45.44 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.464, allocations: 20 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.464, allocations: 0 / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.464, allocations: 35.94 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.464, allocations: 0 / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001296/0.4642, allocations: 62.81 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.4642, allocations: 78.23 kB / 0.9523 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.4643, allocations: 163 kB / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/0.4643, allocations: 27.23 kB / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.4644, allocations: 111.3 kB / 0.9526 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-06/0.4644, allocations: 12.97 kB / 0.9526 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.4644, allocations: 13.75 kB / 0.9526 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.357e-05/0.4644, allocations: 329.4 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.4644, allocations: 7.531 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.525e-05/0.4645, allocations: 17.8 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.4645, allocations: 35.52 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4645, allocations: 0 / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.318e-05/0.4646, allocations: 58.05 kB / 0.953 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4646, allocations: 11.59 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4646, allocations: 1.531 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.4646, allocations: 0 / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.4647, allocations: 10.61 kB / 0.9531 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.4647, allocations: 0 / 0.9531 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.4647, allocations: 6.062 kB / 0.9531 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.4647, allocations: 5.984 kB / 0.9531 GB, free: 6.188 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 3.887e-05/0.4648, allocations: 109 kB / 0.9532 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.4648, allocations: 15.81 kB / 0.9532 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.62e-05/0.4648, allocations: 10.5 kB / 0.9532 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4648, allocations: 5.391 kB / 0.9532 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.4648, allocations: 0 / 0.9532 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4648, allocations: 1.094 kB / 0.9532 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.4651, allocations: 473.8 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4651, allocations: 1.281 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/0.4651, allocations: 2.719 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4651, allocations: 5.5 kB / 0.9537 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.4651, allocations: 0 / 0.9537 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4651, allocations: 1.281 kB / 0.9537 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4651, allocations: 3.938 kB / 0.9537 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.966e-05/0.4652, allocations: 79.83 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.4652, allocations: 91.3 kB / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.4652, allocations: 5.5 kB / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.4652, allocations: 0 / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.4653, allocations: 5.234 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.4653, allocations: 1.531 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.4653, allocations: 120.8 kB / 0.954 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.11e-07/0.4653, allocations: 0 / 0.954 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001731/0.4655, allocations: 10.19 kB / 0.954 GB, free: 5.242 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.0001821/0.4657, allocations: 0.6197 MB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.4658, allocations: 14.78 kB / 0.9546 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4658, allocations: 8.719 kB / 0.9546 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.858e-06/0.4658, allocations: 8 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.4659, allocations: 3.594 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.4667, allocations: 1.331 MB / 0.9559 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.767e-05/0.4668, allocations: 0.6988 MB / 0.9566 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.4668, allocations: 4.062 kB / 0.9566 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.4668, allocations: 27.64 kB / 0.9566 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.4668, allocations: 0 / 0.9566 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.751/2.218, allocations: 1.535 MB / 0.9581 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/12.76, allocations: 5.688 kB / 0.9581 GB, free: 1.785 MB / 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