Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001656/0.001656, allocations: 108 kB / 15.6 MB, free: 132 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.002056/0.002056, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.744/2.744, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.64 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2435, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001991/0.2455, allocations: 0.8221 MB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001164/0.2457, allocations: 43.78 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.2457, allocations: 4 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.2458, allocations: 11.88 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.2458, allocations: 7.875 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.727e-05/0.2459, allocations: 19.97 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.194e-05/0.246, allocations: 59.86 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2461, allocations: 51.94 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.2462, allocations: 23.88 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.2462, allocations: 27.84 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2463, allocations: 4 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-06/0.2463, allocations: 8 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.2463, allocations: 19.88 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.2464, allocations: 35.73 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.2465, allocations: 67.98 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2465, allocations: 4 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2465, allocations: 0 / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2465, allocations: 0 / 1.065 GB, free: 13.29 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.0003622/0.2469, allocations: 375.3 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2469, allocations: 8.031 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.2469, allocations: 38.75 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.247, allocations: 16.75 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.2472, allocations: 192.1 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2472, allocations: 4.375 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.2472, allocations: 8.375 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.2473, allocations: 93.52 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2474, allocations: 3.938 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2474, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2474, allocations: 7.938 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.162e-05/0.2475, allocations: 35.92 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.2479, allocations: 444.6 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/0.248, allocations: 45.19 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.2481, allocations: 17.77 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.2481, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2481, allocations: 42.56 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2481, allocations: 0 / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.2483, allocations: 57.47 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2483, allocations: 77.11 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.2485, allocations: 160.6 kB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.2485, allocations: 29.7 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.2485, allocations: 96.05 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.2486, allocations: 12.14 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.2486, allocations: 17.72 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.2487, allocations: 322.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.2487, allocations: 11.94 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.2487, allocations: 17.72 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.2488, allocations: 21.72 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2488, allocations: 0 / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.521e-05/0.2489, allocations: 69.53 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2489, allocations: 7.938 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2489, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.2489, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.249, allocations: 8 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.249, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.249, allocations: 11.84 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.249, allocations: 0 / 1.067 GB, free: 10.81 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.208e-05/0.2491, allocations: 121.9 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.2492, allocations: 11.84 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.2492, allocations: 11.88 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2492, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2492, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2492, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.2496, allocations: 466.8 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2496, allocations: 8 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.2496, allocations: 11.92 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2496, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.2496, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2496, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2496, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.574e-05/0.2497, allocations: 79.61 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.2498, allocations: 93.03 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2498, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.2498, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.2498, allocations: 7.938 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.2498, allocations: 4 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.16e-05/0.2499, allocations: 119.2 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.353e-06/0.2499, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001946/0.2501, allocations: 7.938 kB / 1.068 GB, free: 9.773 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.0003176/0.2505, allocations: 0.6214 MB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.477e-05/0.2505, allocations: 23.92 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2505, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.355e-05/0.2506, allocations: 4.219 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.2507, allocations: 13.78 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.2518, allocations: 1.319 MB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.252, allocations: 0.6928 MB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.895e-05/0.252, allocations: 4.438 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.2521, allocations: 27.42 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2521, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.2673, allocations: 1.557 MB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.278, allocations: 14.52 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches