Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_latest_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.001808/0.001808, 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.002087/0.002087, allocations: 196.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.357/1.357, 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 11.0.1-master/package.mo): time 2.668/2.668, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 62.52 kB / 0.9083 GB, free: 34.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2584, allocations: 159.1 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002013/0.2604, allocations: 0.8293 MB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001113/0.2606, allocations: 39.78 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.2606, allocations: 4 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.2607, allocations: 7.875 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.2608, allocations: 11.88 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.47e-05/0.2608, allocations: 19.97 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.623e-05/0.2609, allocations: 55.86 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.261, allocations: 55.94 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.2611, allocations: 23.88 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.2612, allocations: 31.78 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2612, allocations: 8 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.2612, allocations: 8 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.2612, allocations: 11.94 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.2613, allocations: 39.73 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.2614, allocations: 71.98 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2614, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2614, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2614, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 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.0003789/0.2618, allocations: 371.3 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2618, allocations: 8.031 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.931e-05/0.2619, allocations: 42.75 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.2619, allocations: 12.75 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.2621, allocations: 196.1 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.2621, allocations: 4.375 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2621, allocations: 12.38 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.2623, allocations: 83.95 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.2623, allocations: 11.81 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2623, allocations: 4 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2623, allocations: 8 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.053e-05/0.2624, allocations: 35.92 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.2629, allocations: 444.5 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.545e-05/0.263, allocations: 41.34 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.263, allocations: 17.78 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.263, allocations: 0 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.263, allocations: 34.56 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.263, allocations: 0 / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001544/0.2632, allocations: 57.69 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.2633, allocations: 81.14 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.2634, allocations: 164.6 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.2634, allocations: 29.64 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.2635, allocations: 108 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.003e-06/0.2635, allocations: 3.906 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.2635, allocations: 17.72 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.2636, allocations: 314.8 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.2637, allocations: 12 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.2637, allocations: 17.72 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.2637, allocations: 25.72 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2637, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.289e-05/0.2638, allocations: 61.53 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2639, allocations: 9.188 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2639, allocations: 4.062 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2639, allocations: 4 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.2639, allocations: 4 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.264, allocations: 0 / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.264, allocations: 11.84 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.264, allocations: 3.984 kB / 1.067 GB, free: 10.88 MB / 0.8262 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.567e-05/0.2641, allocations: 117.8 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.2641, allocations: 11.84 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.2642, allocations: 7.969 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2642, allocations: 7.984 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2642, allocations: 0 / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2642, allocations: 3.938 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.2645, allocations: 470.8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2646, allocations: 3.984 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/0.2646, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2646, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.2646, allocations: 8 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2646, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2646, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/0.2647, allocations: 77.84 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.2648, allocations: 89 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.2648, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.2648, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.2648, allocations: 11.97 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2648, allocations: 4 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.2649, allocations: 119.2 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2649, allocations: 0 / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000195/0.2651, allocations: 12 kB / 1.068 GB, free: 9.836 MB / 0.8262 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.000334/0.2655, allocations: 0.6152 MB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.2655, allocations: 23.92 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2656, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.2656, allocations: 8 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.2657, allocations: 8 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2668, allocations: 1.319 MB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.2671, allocations: 0.6967 MB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.884e-05/0.2671, allocations: 4.438 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.2672, allocations: 23.42 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2672, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.2842, allocations: 1.549 MB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.655, allocations: 23.27 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches