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.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.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.001678/0.001678, 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.001946/0.001946, allocations: 195.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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 72.31 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2475, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002088/0.2496, allocations: 0.8289 MB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001211/0.2497, allocations: 43.84 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.2498, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.2498, allocations: 7.875 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.2499, allocations: 11.86 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.605e-05/0.25, allocations: 15.98 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.338e-05/0.2501, allocations: 63.86 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2502, allocations: 43.95 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.2503, allocations: 27.81 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.2504, allocations: 35.84 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2504, allocations: 4 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.2504, allocations: 8 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.2504, allocations: 11.94 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.2505, allocations: 43.72 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.2506, allocations: 64 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2506, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2506, allocations: 3.938 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2506, allocations: 0 / 1.065 GB, free: 13.32 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.0003767/0.251, allocations: 375.3 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.251, allocations: 12.03 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.2511, allocations: 38.75 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.2511, allocations: 16.69 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.2513, allocations: 192.2 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2513, allocations: 8.312 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.2514, allocations: 8.375 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.2515, allocations: 89.92 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2515, allocations: 11.94 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2515, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2515, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.2516, allocations: 39.98 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.2521, allocations: 440.5 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/0.2522, allocations: 41.16 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.2522, allocations: 17.84 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.2522, allocations: 96 / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2523, allocations: 38.5 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2523, allocations: 4 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.2524, allocations: 61.47 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.2525, allocations: 77.11 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2526, allocations: 164.6 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2526, allocations: 25.7 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.2527, allocations: 100 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.074e-06/0.2527, allocations: 3.906 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.2528, allocations: 17.97 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.2529, allocations: 326.8 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.2529, allocations: 4 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.2529, allocations: 21.7 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.2529, allocations: 29.64 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.253, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.458e-05/0.253, allocations: 57.61 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2531, allocations: 11.94 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2531, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2531, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.2532, allocations: 15.92 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.2532, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.2532, allocations: 7.844 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.2532, allocations: 4 kB / 1.067 GB, free: 10.83 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 6.814e-05/0.2533, allocations: 117.8 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.2533, allocations: 15.91 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.2534, allocations: 11.81 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2534, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2534, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2534, allocations: 3.984 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.2537, allocations: 466.8 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.2538, allocations: 8.062 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.2538, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.621e-05/0.2539, allocations: 85.77 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2539, allocations: 81.02 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.254, allocations: 8.031 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.124e-05/0.254, allocations: 0 / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.254, allocations: 3.984 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.254, allocations: 4 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.074e-05/0.2541, allocations: 119.3 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2541, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001935/0.2543, allocations: 8 kB / 1.068 GB, free: 9.797 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.0003172/0.2546, allocations: 0.6269 MB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.21e-05/0.2547, allocations: 15.98 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2547, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.2547, allocations: 11.94 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.2549, allocations: 8.281 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.256, allocations: 1.315 MB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.2562, allocations: 0.6967 MB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.946e-05/0.2562, allocations: 4.438 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.2563, allocations: 23.42 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2563, allocations: 3.938 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.273, allocations: 1.556 MB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.313, allocations: 9.828 kB / 1.072 GB, free: 5.469 MB / 0.8262 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