Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_9_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.001298/0.001298, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001239/0.001239, allocations: 196.1 kB / 16.26 MB, free: 6.625 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.518, allocations: 140.4 MB / 0.9492 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00171/0.5198, allocations: 0.873 MB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.282e-05/0.5199, allocations: 45.22 kB / 0.9501 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.5199, allocations: 1.375 kB / 0.9501 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.52, allocations: 7.922 kB / 0.9501 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.5201, allocations: 9.312 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.664e-05/0.5201, allocations: 14.75 kB / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.5202, allocations: 56.66 kB / 0.9502 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.5203, allocations: 40.41 kB / 0.9503 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.5203, allocations: 30.73 kB / 0.9503 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.222e-05/0.5204, allocations: 29.3 kB / 0.9503 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.5204, allocations: 9.484 kB / 0.9503 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.5204, allocations: 10.81 kB / 0.9503 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.5204, allocations: 17.3 kB / 0.9504 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.5205, allocations: 30.69 kB / 0.9504 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.348e-05/0.5206, allocations: 71.7 kB / 0.9505 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5206, allocations: 0 / 0.9505 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5206, allocations: 0 / 0.9505 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.5206, allocations: 0 / 0.9505 GB, free: 8.094 MB / 0.7169 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.000273/0.5209, allocations: 383.5 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.5209, allocations: 9.312 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.5209, allocations: 45.48 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.521, allocations: 9.75 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.5211, allocations: 193.8 kB / 0.9511 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.5211, allocations: 3.938 kB / 0.9511 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.5211, allocations: 13.67 kB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.5213, allocations: 95.02 kB / 0.9512 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.5213, allocations: 7.938 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.5213, allocations: 1.188 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5213, allocations: 2.312 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.381e-05/0.5214, allocations: 35.55 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.5217, allocations: 432.9 kB / 0.9516 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.609e-05/0.5218, allocations: 41.56 kB / 0.9517 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.5218, allocations: 18.73 kB / 0.9517 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.5218, allocations: 1.25 kB / 0.9517 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.145e-05/0.5219, allocations: 39.84 kB / 0.9517 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.5219, allocations: 4 kB / 0.9517 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.522, allocations: 54.3 kB / 0.9518 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.522, allocations: 78.3 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.5221, allocations: 164.1 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-06/0.5221, allocations: 25.7 kB / 0.952 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.5222, allocations: 112.8 kB / 0.9521 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.5222, allocations: 4.906 kB / 0.9521 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.5222, allocations: 21.2 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.421e-05/0.5223, allocations: 321.8 kB / 0.9525 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.5223, allocations: 2.719 kB / 0.9525 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.5223, allocations: 26.91 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.5223, allocations: 26.25 kB / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5223, allocations: 0 / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.734e-05/0.5224, allocations: 62.91 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.5224, allocations: 9.094 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5224, allocations: 5.094 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.5225, allocations: 4.719 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.5225, allocations: 10.16 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5225, allocations: 0 / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.5226, allocations: 2.562 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.5226, allocations: 1.406 kB / 0.9526 GB, free: 5.871 MB / 0.7169 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 4.304e-05/0.5226, allocations: 113.9 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.5227, allocations: 16.47 kB / 0.9527 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.5227, allocations: 13.48 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5227, allocations: 1.312 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5227, allocations: 0 / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5227, allocations: 1.656 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.5229, allocations: 474 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.523, allocations: 0 / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.523, allocations: 8.062 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.523, allocations: 0 / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.523, allocations: 1.344 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.523, allocations: 0 / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.523, allocations: 5.109 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.303e-05/0.5231, allocations: 82.75 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.5231, allocations: 95.66 kB / 0.9534 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.5231, allocations: 1.188 kB / 0.9534 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.5231, allocations: 1.188 kB / 0.9534 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.5231, allocations: 5.25 kB / 0.9534 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.5232, allocations: 1.219 kB / 0.9534 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.5232, allocations: 123.7 kB / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5232, allocations: 0 / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001828/0.5234, allocations: 6.969 kB / 0.9535 GB, free: 4.918 MB / 0.7169 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.0001879/0.5236, allocations: 0.6217 MB / 0.9541 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.7e-05/0.5237, allocations: 15.25 kB / 0.9542 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5237, allocations: 0 / 0.9542 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.5237, allocations: 8.375 kB / 0.9542 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.5239, allocations: 14.83 kB / 0.9542 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007862/0.5246, allocations: 1.341 MB / 0.9555 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.282e-05/0.5247, allocations: 0.6945 MB / 0.9562 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.871e-05/0.5248, allocations: 7.859 kB / 0.9562 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.5248, allocations: 23.75 kB / 0.9562 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5248, allocations: 0 / 0.9562 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.5349, allocations: 1.462 MB / 0.9576 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001249/0.5351, allocations: 216.1 kB / 0.9578 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.192, allocations: 5.938 kB / 0.9578 GB, free: 1.301 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches