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.001574/0.001574, 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.001739/0.001739, allocations: 194.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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.525/2.525, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.95 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2397, allocations: 157.4 MB / 1.053 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001911/0.2416, allocations: 0.8272 MB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001117/0.2417, allocations: 39.78 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.2418, allocations: 0 / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.2418, allocations: 11.86 kB / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.807e-05/0.2419, allocations: 15.88 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.922e-05/0.242, allocations: 11.98 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.292e-05/0.2421, allocations: 63.84 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.2422, allocations: 55.95 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.2422, allocations: 31.8 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.053e-05/0.2423, allocations: 23.86 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2423, allocations: 4 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.2423, allocations: 11.94 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.2423, allocations: 15.98 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.2424, allocations: 35.73 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.599e-05/0.2425, allocations: 67.98 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2425, allocations: 0 / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2425, allocations: 4 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2425, allocations: 0 / 1.054 GB, free: 7 MB / 0.8106 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.0003508/0.2429, allocations: 371.3 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2429, allocations: 16.56 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.2429, allocations: 34.75 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.243, allocations: 16.84 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.2431, allocations: 196.1 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2432, allocations: 16.28 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2432, allocations: 8.375 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.2433, allocations: 89.05 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2433, allocations: 3.938 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2433, allocations: 7.938 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2433, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.2434, allocations: 35.98 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.2439, allocations: 436.5 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.2439, allocations: 41.27 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.244, allocations: 25.84 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.244, allocations: 0 / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.244, allocations: 34.5 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.244, allocations: 0 / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.2442, allocations: 57.53 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2442, allocations: 85.3 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.2443, allocations: 164.8 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2444, allocations: 25.7 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.2444, allocations: 100 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.2444, allocations: 7.891 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.2445, allocations: 13.72 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.2446, allocations: 318.8 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.2446, allocations: 11.98 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.2446, allocations: 21.72 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.2446, allocations: 21.72 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2446, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.649e-05/0.2447, allocations: 61.53 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2447, allocations: 7.938 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2448, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2448, allocations: 4.062 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.321e-05/0.2448, allocations: 12 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2448, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.2449, allocations: 7.844 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.2449, allocations: 7.938 kB / 1.056 GB, free: 4.516 MB / 0.8106 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.069e-05/0.245, allocations: 117.8 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.245, allocations: 15.83 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.245, allocations: 3.875 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.245, allocations: 7.938 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.245, allocations: 4.094 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2451, allocations: 3.984 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.2454, allocations: 470.8 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2454, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.2454, allocations: 4 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2454, allocations: 3.984 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.2454, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2455, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2455, allocations: 8.062 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.864e-05/0.2455, allocations: 81.78 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.2456, allocations: 89 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.2456, allocations: 4 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.2456, allocations: 0 / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-06/0.2456, allocations: 32 / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.2457, allocations: 8 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.307e-05/0.2457, allocations: 119.2 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2457, allocations: 0 / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001756/0.2459, allocations: 8 kB / 1.057 GB, free: 3.473 MB / 0.8106 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.000301/0.2462, allocations: 0.6132 MB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.008e-05/0.2463, allocations: 19.94 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2463, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.284e-05/0.2463, allocations: 11.98 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.2465, allocations: 4 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.2475, allocations: 1.321 MB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2477, allocations: 0.6963 MB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.2477, allocations: 8.422 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.2478, allocations: 31.36 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of SimCode: time 1.362e-06/0.2478, allocations: 0 / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.2642, allocations: 1.552 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/6.973, allocations: 15.86 kB / 1.061 GB, free: 15.14 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 & /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=50 --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