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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001206/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001233/0.001233, allocations: 193.5 kB / 16.14 MB, free: 6.648 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.211/1.211, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.422/2.422, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 65.83 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2244, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001912/0.2263, allocations: 0.894 MB / 1.053 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001009/0.2264, allocations: 39.8 kB / 1.053 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.2265, allocations: 0 / 1.053 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.2266, allocations: 7.922 kB / 1.053 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.598e-05/0.2266, allocations: 11.92 kB / 1.053 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.057e-05/0.2267, allocations: 16 kB / 1.053 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.2268, allocations: 51.84 kB / 1.053 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2269, allocations: 47.97 kB / 1.053 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.2269, allocations: 27.8 kB / 1.053 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.227, allocations: 23.86 kB / 1.053 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.227, allocations: 4 kB / 1.053 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-06/0.227, allocations: 4 kB / 1.053 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.227, allocations: 15.92 kB / 1.053 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.2271, allocations: 35.75 kB / 1.053 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.254e-05/0.2272, allocations: 67.97 kB / 1.053 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2272, allocations: 8 kB / 1.053 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2272, allocations: 0 / 1.053 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.2272, allocations: 0 / 1.053 GB, free: 6.93 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.0003572/0.2276, allocations: 367.3 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2276, allocations: 15.97 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.2277, allocations: 42.67 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.2277, allocations: 12.84 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.2279, allocations: 196.1 kB / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2279, allocations: 12.28 kB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.2279, allocations: 8.312 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.228, allocations: 96.98 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2281, allocations: 3.938 kB / 1.054 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2281, allocations: 0 / 1.054 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2281, allocations: 3.938 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.2281, allocations: 35.98 kB / 1.054 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.2286, allocations: 444.5 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.2287, allocations: 41.27 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.2287, allocations: 21.72 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.2287, allocations: 4.031 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.2288, allocations: 30.56 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2288, allocations: 4 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000146/0.2289, allocations: 53.48 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.229, allocations: 81.09 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.2291, allocations: 169.1 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.2291, allocations: 25.7 kB / 1.055 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.2292, allocations: 100 kB / 1.055 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-06/0.2292, allocations: 7.906 kB / 1.055 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.2292, allocations: 17.7 kB / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.2293, allocations: 318.8 kB / 1.055 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.2293, allocations: 7.984 kB / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.2294, allocations: 21.72 kB / 1.055 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.2294, allocations: 29.66 kB / 1.055 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2294, allocations: 0 / 1.055 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.768e-05/0.2295, allocations: 57.59 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2295, allocations: 7.938 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2295, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.2296, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.2296, allocations: 12 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2296, allocations: 4 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.2297, allocations: 11.84 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.2297, allocations: 0 / 1.056 GB, free: 4.438 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 7.179e-05/0.2297, allocations: 113.8 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.2298, allocations: 11.84 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.2298, allocations: 15.86 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2298, allocations: 3.938 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2298, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2298, allocations: 4 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.2302, allocations: 470.8 kB / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2302, allocations: 0 / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.2302, allocations: 4 kB / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2302, allocations: 0 / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2302, allocations: 0 / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2302, allocations: 7.984 kB / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2302, allocations: 3.938 kB / 1.056 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.733e-05/0.2303, allocations: 81.94 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.2304, allocations: 92.98 kB / 1.056 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2304, allocations: 4 kB / 1.056 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.2304, allocations: 0 / 1.056 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-06/0.2304, allocations: 0 / 1.056 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.2305, allocations: 4 kB / 1.056 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.538e-05/0.2305, allocations: 126.1 kB / 1.056 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2305, allocations: 0 / 1.056 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001768/0.2307, allocations: 4 kB / 1.056 GB, free: 3.398 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.0003189/0.231, allocations: 0.621 MB / 1.057 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.443e-05/0.2311, allocations: 16 kB / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2311, allocations: 0 / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.2311, allocations: 7.938 kB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2313, allocations: 9.875 kB / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2323, allocations: 1.338 MB / 1.058 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.2326, allocations: 0.6926 MB / 1.059 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.2326, allocations: 12.42 kB / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.2327, allocations: 23.44 kB / 1.059 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.2327, allocations: 3.938 kB / 1.059 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009552/0.2422, allocations: 1.428 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.2425, allocations: 213.6 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/1.807, allocations: 0 / 1.061 GB, free: 14.95 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