Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.To_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_9_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.001229/0.001229, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001173/0.001173, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5086, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001556/0.5102, allocations: 0.8727 MB / 0.9499 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.746e-05/0.5103, allocations: 41.78 kB / 0.9499 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.5104, allocations: 2 kB / 0.9499 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.5104, allocations: 3.938 kB / 0.95 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.5105, allocations: 7.922 kB / 0.95 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.309e-05/0.5105, allocations: 16.28 kB / 0.95 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.5106, allocations: 59 kB / 0.95 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.5107, allocations: 35.12 kB / 0.9501 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.5108, allocations: 34.7 kB / 0.9501 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.685e-05/0.5108, allocations: 21.45 kB / 0.9501 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.5108, allocations: 4.219 kB / 0.9501 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.5108, allocations: 2.781 kB / 0.9501 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.5108, allocations: 18.89 kB / 0.9501 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.5109, allocations: 30.48 kB / 0.9502 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.721e-05/0.5109, allocations: 69.98 kB / 0.9502 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.511, allocations: 0 / 0.9502 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.511, allocations: 0 / 0.9502 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.511, allocations: 1.469 kB / 0.9502 GB, free: 8.16 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.0002842/0.5113, allocations: 381.9 kB / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5113, allocations: 8.906 kB / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.5113, allocations: 53.61 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.5114, allocations: 10 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.5115, allocations: 186.7 kB / 0.9509 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.5115, allocations: 3.5 kB / 0.9509 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.5115, allocations: 8.25 kB / 0.9509 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.5116, allocations: 97.81 kB / 0.951 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5116, allocations: 7.938 kB / 0.951 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.5117, allocations: 1.625 kB / 0.951 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5117, allocations: 1.594 kB / 0.951 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.5117, allocations: 40.3 kB / 0.951 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.5121, allocations: 436.5 kB / 0.9514 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.497e-05/0.5121, allocations: 41.28 kB / 0.9515 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.5121, allocations: 19.2 kB / 0.9515 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-06/0.5122, allocations: 5.406 kB / 0.9515 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.079e-05/0.5122, allocations: 39.88 kB / 0.9515 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.5122, allocations: 4 kB / 0.9515 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001301/0.5123, allocations: 59.22 kB / 0.9516 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.5123, allocations: 77.11 kB / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.5124, allocations: 163.4 kB / 0.9518 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.5125, allocations: 25.7 kB / 0.9518 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.5125, allocations: 109.4 kB / 0.9519 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-06/0.5125, allocations: 5.281 kB / 0.9519 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.5125, allocations: 20.72 kB / 0.952 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.5126, allocations: 321.6 kB / 0.9523 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.5126, allocations: 2.75 kB / 0.9523 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.5126, allocations: 23.2 kB / 0.9523 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.5126, allocations: 25.91 kB / 0.9523 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5126, allocations: 0 / 0.9523 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.213e-05/0.5127, allocations: 59.48 kB / 0.9524 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.5127, allocations: 14.83 kB / 0.9524 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.5127, allocations: 0 / 0.9524 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.5128, allocations: 1.375 kB / 0.9524 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/0.5128, allocations: 9.438 kB / 0.9524 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.5128, allocations: 1.375 kB / 0.9524 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.5128, allocations: 1.375 kB / 0.9524 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.5129, allocations: 1.375 kB / 0.9524 GB, free: 5.938 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.421e-05/0.5129, allocations: 118 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.5129, allocations: 11.97 kB / 0.9525 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.513, allocations: 14.61 kB / 0.9525 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.513, allocations: 1.375 kB / 0.9525 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.513, allocations: 0 / 0.9525 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.513, allocations: 1.375 kB / 0.9525 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.5132, allocations: 469.9 kB / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.5132, allocations: 64 / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.5132, allocations: 12.03 kB / 0.953 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.5132, allocations: 0 / 0.953 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.5133, allocations: 1.312 kB / 0.953 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.5133, allocations: 4 kB / 0.953 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5133, allocations: 5.109 kB / 0.953 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.153e-05/0.5133, allocations: 86.05 kB / 0.9531 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.5134, allocations: 92.36 kB / 0.9532 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.5134, allocations: 5.297 kB / 0.9532 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/0.5134, allocations: 1.562 kB / 0.9532 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.5134, allocations: 0 / 0.9532 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5134, allocations: 1.562 kB / 0.9532 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.5135, allocations: 124.7 kB / 0.9533 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5135, allocations: 5.812 kB / 0.9533 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001681/0.5137, allocations: 5.688 kB / 0.9533 GB, free: 4.977 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.0001815/0.5138, allocations: 0.6216 MB / 0.9539 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.593e-05/0.5139, allocations: 13.66 kB / 0.9539 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5139, allocations: 1.25 kB / 0.9539 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.5139, allocations: 8.281 kB / 0.954 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.5141, allocations: 12.12 kB / 0.954 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.5148, allocations: 1.35 MB / 0.9553 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.381e-05/0.5149, allocations: 0.6915 MB / 0.956 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.5149, allocations: 8.078 kB / 0.956 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.515, allocations: 19.16 kB / 0.956 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of SimCode: time 7.41e-07/0.515, allocations: 0.7188 kB / 0.956 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.175/0.6899, allocations: 1.424 MB / 0.9574 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/0.6901, allocations: 208.8 kB / 0.9576 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/2.138, allocations: 0 / 0.9576 GB, free: 1.367 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches