Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_latest_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.005798/0.005798, allocations: 97.33 kB / 15.73 MB, free: 6.035 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.001175/0.001175, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.74/2.74, allocations: 469.4 MB / 0.7421 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2528, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001813/0.2547, allocations: 0.831 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001183/0.2548, allocations: 43.78 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.2549, allocations: 4 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.38e-05/0.2549, allocations: 11.86 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.564e-05/0.255, allocations: 3.938 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.444e-05/0.255, allocations: 19.98 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.2551, allocations: 63.78 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2553, allocations: 55.83 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.013e-05/0.2553, allocations: 23.88 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.2554, allocations: 27.84 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2554, allocations: 8 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.2554, allocations: 7.938 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.2555, allocations: 16 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.2555, allocations: 35.73 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2556, allocations: 75.58 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2556, allocations: 0 / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2556, allocations: 0 / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2556, allocations: 0 / 1.221 GB, free: 13.38 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.0003798/0.256, allocations: 383.1 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2561, allocations: 8.031 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.2561, allocations: 38.75 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.2561, allocations: 12.84 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.2563, allocations: 204.2 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2564, allocations: 4.375 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.2564, allocations: 8.375 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.2565, allocations: 91.86 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2565, allocations: 3.938 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.2566, allocations: 0 / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2566, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.352e-05/0.2567, allocations: 39.92 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.2571, allocations: 440.6 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.2572, allocations: 41.34 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.2572, allocations: 17.78 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2573, allocations: 8 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.2573, allocations: 30.56 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2573, allocations: 0 / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000163/0.2575, allocations: 61.45 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.2575, allocations: 77.11 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2577, allocations: 169.2 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2577, allocations: 33.64 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.2577, allocations: 104.1 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.133e-06/0.2578, allocations: 3.953 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.2578, allocations: 21.67 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.2579, allocations: 318.8 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.2579, allocations: 4 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.2579, allocations: 17.72 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.258, allocations: 29.72 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.258, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.535e-05/0.2581, allocations: 61.58 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2581, allocations: 7.938 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2581, allocations: 4 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2581, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.663e-05/0.2582, allocations: 4 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2582, allocations: 4.062 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.2582, allocations: 7.938 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.2583, allocations: 3.984 kB / 1.223 GB, free: 10.88 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 7.075e-05/0.2583, allocations: 118.3 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.2584, allocations: 11.89 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.2584, allocations: 11.88 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2584, allocations: 0 / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2584, allocations: 0 / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2584, allocations: 0 / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.2588, allocations: 474.7 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2588, allocations: 7.984 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.2588, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2588, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.2588, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2588, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2589, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.863e-05/0.2589, allocations: 77.95 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.259, allocations: 93.05 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.259, allocations: 0 / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.485e-05/0.259, allocations: 4 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.2591, allocations: 11.88 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.2591, allocations: 96 / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.487e-05/0.2592, allocations: 123.3 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2592, allocations: 0 / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001981/0.2594, allocations: 8 kB / 1.224 GB, free: 9.836 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.000325/0.2597, allocations: 0.6132 MB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.444e-05/0.2598, allocations: 27.95 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2598, allocations: 0 / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.2598, allocations: 4 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.26, allocations: 14.02 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.261, allocations: 1.335 MB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2613, allocations: 0.6885 MB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.163e-05/0.2613, allocations: 8.422 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.2613, allocations: 19.44 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.2614, allocations: 0 / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.2774, allocations: 1.58 MB / 1.228 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.354, allocations: 10.25 kB / 1.228 GB, free: 5.488 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_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_To_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches