Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.From_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_10_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.000886/0.0008861, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005155/0.005156, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 12 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5344/0.5348, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.0008445/0.5357, allocations: 0.551 MB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001024/0.5358, allocations: 39.78 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.5358, allocations: 8 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.5359, allocations: 7.922 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.735e-05/0.5359, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.892e-05/0.536, allocations: 15.94 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.5361, allocations: 63.78 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.5362, allocations: 35.97 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.5363, allocations: 23.86 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.5363, allocations: 19.86 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.5363, allocations: 0 / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.5363, allocations: 4 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.5364, allocations: 7.922 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.5364, allocations: 49.45 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.792e-05/0.5365, allocations: 73.94 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5365, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5365, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.5365, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.7794 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.0003236/0.5368, allocations: 368.7 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.5369, allocations: 12.03 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.5369, allocations: 38.75 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.537, allocations: 16.83 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.5371, allocations: 188.2 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.5372, allocations: 8.375 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.5372, allocations: 8.375 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.5373, allocations: 95.89 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.5373, allocations: 3.938 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.5373, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5373, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.5374, allocations: 43.91 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.5379, allocations: 436.6 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.5379, allocations: 45.19 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.538, allocations: 17.78 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.538, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.538, allocations: 38.56 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.538, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001508/0.5382, allocations: 61.45 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.5382, allocations: 77.11 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.5384, allocations: 163.1 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.5384, allocations: 25.7 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.5384, allocations: 108.2 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.5384, allocations: 7.906 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.5385, allocations: 13.72 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.5386, allocations: 318.8 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.5386, allocations: 7.938 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.135e-05/0.5386, allocations: 17.72 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.5387, allocations: 37.64 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5387, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.885e-05/0.5387, allocations: 57.55 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5388, allocations: 7.938 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.5388, allocations: 4 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.5388, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.5388, allocations: 7.984 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.5389, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.5389, allocations: 7.906 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.5389, allocations: 64 / 1.026 GB, free: 12.47 MB / 0.7794 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.554e-05/0.539, allocations: 118.4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.539, allocations: 11.84 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.539, allocations: 11.88 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.539, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5391, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5391, allocations: 7.984 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.5394, allocations: 470.8 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5394, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.5394, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5394, allocations: 4 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.5394, allocations: 3.938 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5394, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.5394, allocations: 3.938 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.526e-05/0.5395, allocations: 85.89 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.5396, allocations: 88.95 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.5396, allocations: 4 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.5396, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.5396, allocations: 3.984 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.5396, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.666e-05/0.5397, allocations: 121.3 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5397, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001784/0.5399, allocations: 8.031 kB / 1.027 GB, free: 11.43 MB / 0.7794 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.0002916/0.5402, allocations: 0.6248 MB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.254e-05/0.5403, allocations: 15.98 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.5403, allocations: 8.094 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-06/0.5403, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.5405, allocations: 9.562 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009678/0.5414, allocations: 1.34 MB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.5416, allocations: 0.6926 MB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.5417, allocations: 4.438 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.5417, allocations: 27.42 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.5417, allocations: 4 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009584/0.5513, allocations: 1.346 MB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.5515, allocations: 222.1 kB / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.146, allocations: 4 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches