Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_10_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.005781/0.005781, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001574/0.001573, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001412, allocations: 67.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8519/0.8533, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001792/0.8552, allocations: 0.8233 MB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.8553, allocations: 43.78 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.8554, allocations: 4 kB / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.8554, allocations: 11.86 kB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.8555, allocations: 11.88 kB / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.578e-05/0.8556, allocations: 19.98 kB / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.8557, allocations: 55.84 kB / 1.167 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.8558, allocations: 47.95 kB / 1.167 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.8559, allocations: 31.81 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.856, allocations: 27.84 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.856, allocations: 4 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.856, allocations: 8 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.856, allocations: 11.94 kB / 1.167 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.8561, allocations: 35.8 kB / 1.167 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.8562, allocations: 73.95 kB / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8562, allocations: 0 / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8562, allocations: 4 kB / 1.167 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.8562, allocations: 0 / 1.167 GB, free: 2.559 MB / 0.8887 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.0004218/0.8567, allocations: 387.1 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.8567, allocations: 12.86 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.8568, allocations: 46.75 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.8568, allocations: 8.844 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.857, allocations: 188.2 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.857, allocations: 4.375 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.857, allocations: 12.38 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.8572, allocations: 102.3 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8572, allocations: 3.938 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.8572, allocations: 0 / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.8572, allocations: 4 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.834e-05/0.8573, allocations: 39.92 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.8578, allocations: 440.6 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.8578, allocations: 37.28 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.8579, allocations: 25.73 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.8579, allocations: 0 / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.8579, allocations: 38.56 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8579, allocations: 4 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001557/0.8581, allocations: 57.47 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.8581, allocations: 77.11 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.8582, allocations: 160.5 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.8583, allocations: 25.7 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.8583, allocations: 104 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.713e-06/0.8583, allocations: 8.156 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.8584, allocations: 17.72 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.8585, allocations: 322.8 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.8585, allocations: 4 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.8585, allocations: 17.72 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.8586, allocations: 25.66 kB / 1.169 GB, free: 172 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.8586, allocations: 4 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.608e-05/0.8586, allocations: 65.53 kB / 1.169 GB, free: 96 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.8587, allocations: 7.938 kB / 1.169 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8587, allocations: 0 / 1.169 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.8587, allocations: 3.938 kB / 1.169 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.8588, allocations: 8 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.8588, allocations: 3.984 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.8588, allocations: 7.906 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.8588, allocations: 0 / 1.17 GB, free: 64 kB / 0.8887 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.8589, allocations: 117.9 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.8589, allocations: 11.84 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.859, allocations: 11.88 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.859, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.859, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.859, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.8593, allocations: 474.8 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8594, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.8594, allocations: 4 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8594, allocations: 3.938 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.8594, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.8594, allocations: 8 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8594, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.131e-05/0.8595, allocations: 89.83 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.8595, allocations: 88.95 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.8596, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.8596, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.8596, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.8596, allocations: 11.98 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.927e-05/0.8597, allocations: 117.9 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8597, allocations: 0 / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001837/0.8599, allocations: 7.906 kB / 1.17 GB, free: 15.02 MB / 0.9044 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.0003428/0.8602, allocations: 0.621 MB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.493e-05/0.8603, allocations: 19.98 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8603, allocations: 160 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.8604, allocations: 11.94 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.8605, allocations: 8 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.8616, allocations: 1.328 MB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.8618, allocations: 0.6963 MB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.8619, allocations: 8.422 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.8619, allocations: 27.36 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.8619, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.8775, allocations: 1.578 MB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/8.528, allocations: 7.891 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches