Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.001936/0.001936, allocations: 108.6 kB / 15.73 MB, free: 72 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.002143/0.002143, allocations: 183.5 kB / 16.66 MB, free: 6.602 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.852/2.852, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2764, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001923/0.2783, allocations: 0.8194 MB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001139/0.2785, allocations: 43.8 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.2785, allocations: 0 / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.2786, allocations: 7.875 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.857e-05/0.2787, allocations: 15.84 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.264e-05/0.2787, allocations: 19.98 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2788, allocations: 59.84 kB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.279, allocations: 55.8 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.279, allocations: 23.86 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.2791, allocations: 31.8 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.2791, allocations: 8 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.2791, allocations: 4 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.2792, allocations: 15.92 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.2792, allocations: 43.72 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.2794, allocations: 71.66 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2794, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2794, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2794, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 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.0004295/0.2798, allocations: 379.1 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2799, allocations: 12.03 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.2799, allocations: 38.69 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.2799, allocations: 12.84 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.2802, allocations: 192.2 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2802, allocations: 12.38 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.2802, allocations: 4.375 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.2804, allocations: 97.2 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2804, allocations: 3.938 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2804, allocations: 8 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2804, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.2805, allocations: 31.98 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.2811, allocations: 440.7 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.922e-05/0.2811, allocations: 41.14 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.2812, allocations: 25.88 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.2812, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.2812, allocations: 30.56 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2812, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001672/0.2814, allocations: 57.52 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.2815, allocations: 81.11 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.2816, allocations: 164.6 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2816, allocations: 25.7 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.2817, allocations: 100.3 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.2817, allocations: 11.94 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.2818, allocations: 17.67 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2819, allocations: 318.8 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.2819, allocations: 7.984 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.282, allocations: 25.66 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.282, allocations: 33.66 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.282, allocations: 3.938 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.279e-05/0.2821, allocations: 53.64 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2822, allocations: 11.94 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2822, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2822, allocations: 3.938 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.2822, allocations: 4 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2823, allocations: 7.984 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.2823, allocations: 4 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2823, allocations: 8 kB / 1.224 GB, free: 10.58 MB / 0.9825 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 8.298e-05/0.2824, allocations: 113.8 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.2824, allocations: 11.89 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.2825, allocations: 11.88 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2825, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2825, allocations: 4 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2825, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.2829, allocations: 478.7 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2829, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.283, allocations: 4 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.283, allocations: 3.984 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.283, allocations: 0 / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.283, allocations: 0 / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.283, allocations: 0 / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.129e-05/0.2831, allocations: 81.89 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.2832, allocations: 93.05 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.2832, allocations: 4 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.2832, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.2832, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.2832, allocations: 96 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.732e-05/0.2833, allocations: 121.3 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2833, allocations: 0 / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001952/0.2835, allocations: 12.03 kB / 1.224 GB, free: 9.547 MB / 0.9825 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.0004157/0.284, allocations: 0.6176 MB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.936e-05/0.2841, allocations: 16.09 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2841, allocations: 0 / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.2841, allocations: 15.86 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.2842, allocations: 17.17 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2855, allocations: 1.328 MB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.2858, allocations: 0.7006 MB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.2858, allocations: 12.36 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.2859, allocations: 23.44 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.2859, allocations: 0 / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.3074, allocations: 1.575 MB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/7.922, allocations: 17.52 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches