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.006697/0.006697, allocations: 103.7 kB / 15.74 MB, free: 6.445 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.001294/0.001294, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.523/2.523, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2514, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002243/0.2537, allocations: 0.8256 MB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001444/0.2539, allocations: 47.72 kB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.254, allocations: 4 kB / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.514e-05/0.2541, allocations: 15.86 kB / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.043e-05/0.2542, allocations: 3.938 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.24e-05/0.2542, allocations: 23.92 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.2543, allocations: 59.84 kB / 1.167 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.2545, allocations: 47.97 kB / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.433e-05/0.2546, allocations: 19.88 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.2546, allocations: 31.78 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2547, allocations: 4 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.2547, allocations: 8 kB / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.2547, allocations: 15.92 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.2547, allocations: 35.8 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.2549, allocations: 79.81 kB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2549, allocations: 0 / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2549, allocations: 0 / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.2549, allocations: 0 / 1.167 GB, free: 6.102 MB / 0.92 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.0004699/0.2554, allocations: 387.1 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2554, allocations: 8.031 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.2555, allocations: 38.75 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.2555, allocations: 12.84 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.2557, allocations: 196.2 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2558, allocations: 8.375 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.2558, allocations: 4.375 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.2559, allocations: 98.3 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2559, allocations: 7.875 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.256, allocations: 0 / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.256, allocations: 4 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.906e-05/0.2561, allocations: 39.92 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.2566, allocations: 432.6 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.2566, allocations: 45.34 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.2567, allocations: 17.78 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.2567, allocations: 0 / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2567, allocations: 34.56 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2567, allocations: 4 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001639/0.2569, allocations: 57.52 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.2569, allocations: 77.11 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2571, allocations: 160.5 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.2571, allocations: 25.7 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.2572, allocations: 104 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.2572, allocations: 15.89 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.2572, allocations: 13.91 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.2573, allocations: 326.8 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.2573, allocations: 8 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.2574, allocations: 13.72 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/0.2574, allocations: 25.72 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2574, allocations: 0 / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.527e-05/0.2575, allocations: 69.53 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2575, allocations: 7.938 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2575, allocations: 0 / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2576, allocations: 0 / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.541e-05/0.2576, allocations: 8 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2576, allocations: 3.984 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.2577, allocations: 4 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.2577, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 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.116e-05/0.2577, allocations: 113.8 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.2578, allocations: 15.95 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.2578, allocations: 11.88 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2578, allocations: 3.938 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2578, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2579, allocations: 3.938 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.2582, allocations: 478.8 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2582, allocations: 7.938 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.2583, allocations: 8.062 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2583, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2583, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2583, allocations: 4 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2583, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.197e-05/0.2584, allocations: 77.97 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.2584, allocations: 93.05 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2585, allocations: 4.031 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/0.2585, allocations: 0 / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.2585, allocations: 0 / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.2585, allocations: 7.938 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.164e-05/0.2586, allocations: 121.9 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2586, allocations: 0 / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001978/0.2588, allocations: 11.94 kB / 1.17 GB, free: 2.562 MB / 0.92 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.0003666/0.2592, allocations: 0.6132 MB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.352e-05/0.2593, allocations: 27.92 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2593, allocations: 3.938 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.2593, allocations: 4 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.2595, allocations: 12.28 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2605, allocations: 1.33 MB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.2608, allocations: 0.6889 MB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.2608, allocations: 12.42 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.2608, allocations: 27.42 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2609, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.2762, allocations: 1.573 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.481, allocations: 8.016 kB / 1.175 GB, free: 14.2 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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