Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_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.001267/0.001267, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001584/0.001585, allocations: 190.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.118/2.118, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.98/3.98, allocations: 461.9 MB / 0.7343 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 67.52 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3479, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.003369/0.3514, allocations: 0.8841 MB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001844/0.3516, allocations: 43.78 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.3517, allocations: 0 / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.236e-05/0.3518, allocations: 3.938 kB / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.3519, allocations: 11.92 kB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.553e-05/0.352, allocations: 16 kB / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.3522, allocations: 59.84 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.3524, allocations: 43.95 kB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.3525, allocations: 35.8 kB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.3526, allocations: 23.86 kB / 1.054 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3526, allocations: 8 kB / 1.054 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.3526, allocations: 8 kB / 1.054 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.3527, allocations: 15.92 kB / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.3527, allocations: 39.75 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.3529, allocations: 67.97 kB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3529, allocations: 0 / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3529, allocations: 0 / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.3529, allocations: 0 / 1.054 GB, free: 7.414 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.0005346/0.3535, allocations: 379.3 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.3535, allocations: 8.625 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.3536, allocations: 46.73 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.3537, allocations: 8.844 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.354, allocations: 200 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.354, allocations: 12.28 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.354, allocations: 8.359 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.3543, allocations: 95.94 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3543, allocations: 3.938 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.3543, allocations: 4 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3544, allocations: 7.875 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3545, allocations: 35.98 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007868/0.3553, allocations: 440.5 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.3554, allocations: 41.28 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.3555, allocations: 25.83 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.3555, allocations: 0 / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3556, allocations: 30.56 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.3556, allocations: 7.938 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002486/0.3558, allocations: 49.55 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.3559, allocations: 85.05 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.3562, allocations: 162.2 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3562, allocations: 25.7 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.3563, allocations: 100 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.3563, allocations: 3.906 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.3564, allocations: 25.95 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3566, allocations: 318.8 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.3566, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.249e-05/0.3567, allocations: 25.7 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.795e-05/0.3567, allocations: 25.72 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3568, allocations: 0 / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000146/0.3569, allocations: 61.53 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.357, allocations: 13.81 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.357, allocations: 0 / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.357, allocations: 0 / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.3571, allocations: 4 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3571, allocations: 4 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.3572, allocations: 7.844 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3572, allocations: 0 / 1.056 GB, free: 4.922 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 0.0001174/0.3573, allocations: 125.8 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.3574, allocations: 11.84 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.3575, allocations: 15.86 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3575, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3575, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3575, allocations: 4 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.3582, allocations: 470.8 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3582, allocations: 64 / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.3582, allocations: 4 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3583, allocations: 4 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.3583, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3583, allocations: 4 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3583, allocations: 3.938 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.3584, allocations: 77.83 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.3585, allocations: 101 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3586, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/0.3586, allocations: 4 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.3587, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.3587, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001479/0.3588, allocations: 122.1 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3588, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003402/0.3592, allocations: 8 kB / 1.057 GB, free: 3.875 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.0006675/0.3599, allocations: 0.6171 MB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.36, allocations: 15.94 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.36, allocations: 0 / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.21e-05/0.3601, allocations: 4.219 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.3603, allocations: 12.06 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.3622, allocations: 1.346 MB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3626, allocations: 0.6931 MB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.256e-05/0.3627, allocations: 8.422 kB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.3628, allocations: 23.44 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3628, allocations: 0 / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5511/0.9139, allocations: 1.469 MB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000366/0.9143, allocations: 217.7 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.951/3.865, allocations: 0 / 1.061 GB, free: 15.42 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches