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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.004758/0.004758, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001311/0.001311, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.547/2.547, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 60.95 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2758, allocations: 162.3 MB / 1.242 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001835/0.2777, allocations: 0.8295 MB / 1.243 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 9.168e-05/0.2778, allocations: 51.72 kB / 1.243 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.2778, allocations: 0 / 1.243 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.2778, allocations: 7.875 kB / 1.243 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.2779, allocations: 7.922 kB / 1.243 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.096e-05/0.278, allocations: 19.98 kB / 1.243 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.799e-05/0.278, allocations: 59.84 kB / 1.243 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2782, allocations: 51.89 kB / 1.243 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.2782, allocations: 23.92 kB / 1.243 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.2783, allocations: 27.8 kB / 1.243 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.2783, allocations: 8 kB / 1.243 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.2783, allocations: 8 kB / 1.243 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.2783, allocations: 15.92 kB / 1.243 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.2784, allocations: 31.81 kB / 1.243 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.2785, allocations: 83.78 kB / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2785, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2785, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.2785, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 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.0003613/0.2788, allocations: 380.8 kB / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.2789, allocations: 8.031 kB / 1.243 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.2789, allocations: 42.73 kB / 1.243 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.2789, allocations: 12.89 kB / 1.243 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.2791, allocations: 200.1 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2792, allocations: 8.375 kB / 1.244 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-06/0.2792, allocations: 4.375 kB / 1.244 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.2793, allocations: 89.52 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2793, allocations: 3.938 kB / 1.244 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2793, allocations: 8 kB / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.2794, allocations: 0 / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.2794, allocations: 43.86 kB / 1.244 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.2799, allocations: 440.6 kB / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.982e-05/0.28, allocations: 41.27 kB / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.28, allocations: 21.84 kB / 1.244 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-06/0.28, allocations: 4 kB / 1.244 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2801, allocations: 30.56 kB / 1.244 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2801, allocations: 0 / 1.244 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000132/0.2802, allocations: 53.53 kB / 1.244 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.2803, allocations: 85.34 kB / 1.244 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2804, allocations: 155.7 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2804, allocations: 29.7 kB / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.2805, allocations: 104.1 kB / 1.245 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.938e-06/0.2805, allocations: 15.83 kB / 1.245 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.2805, allocations: 17.7 kB / 1.245 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2807, allocations: 314.8 kB / 1.245 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.2807, allocations: 11.98 kB / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.2807, allocations: 21.72 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.2808, allocations: 25.72 kB / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2808, allocations: 0 / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.997e-05/0.2808, allocations: 57.58 kB / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2809, allocations: 7.938 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.2809, allocations: 4 kB / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.2809, allocations: 0 / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-05/0.2809, allocations: 8.062 kB / 1.245 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2809, allocations: 0 / 1.245 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.281, allocations: 7.953 kB / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.281, allocations: 7.938 kB / 1.245 GB, free: 5.164 MB / 0.9669 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.433e-05/0.2811, allocations: 109.8 kB / 1.245 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.2811, allocations: 15.89 kB / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.2811, allocations: 15.8 kB / 1.245 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2811, allocations: 0 / 1.245 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2811, allocations: 4 kB / 1.245 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2812, allocations: 8 kB / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.2815, allocations: 470.7 kB / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2815, allocations: 4 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.557e-05/0.2816, allocations: 0 / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2816, allocations: 4 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.2816, allocations: 0 / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.2816, allocations: 3.984 kB / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2816, allocations: 0 / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.189e-05/0.2817, allocations: 77.95 kB / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.2817, allocations: 96.98 kB / 1.246 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.2818, allocations: 0 / 1.246 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.2818, allocations: 4 kB / 1.246 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-06/0.2818, allocations: 3.938 kB / 1.246 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.2818, allocations: 32 / 1.246 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.931e-05/0.2819, allocations: 125.9 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2819, allocations: 0 / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001724/0.2821, allocations: 11.94 kB / 1.246 GB, free: 4.117 MB / 0.9669 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.0003575/0.2824, allocations: 0.6138 MB / 1.247 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.2825, allocations: 19.94 kB / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2825, allocations: 0 / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.2825, allocations: 11.98 kB / 1.247 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.2827, allocations: 4 kB / 1.247 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2838, allocations: 1.336 MB / 1.248 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.2841, allocations: 0.6924 MB / 1.249 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.2841, allocations: 8.422 kB / 1.249 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.2841, allocations: 23.44 kB / 1.249 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.2842, allocations: 0 / 1.249 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4414/0.7255, allocations: 1.577 MB / 1.25 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.894/10.62, allocations: 9.25 kB / 1.25 GB, free: 15.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 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.mat","/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