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.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.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.00139/0.00139, 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.001514/0.001514, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.176/2.176, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/0.5151, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001778/0.5169, allocations: 0.8738 MB / 0.9499 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.262e-05/0.517, allocations: 43.91 kB / 0.9499 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.517, allocations: 2.75 kB / 0.9499 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.5171, allocations: 3.938 kB / 0.95 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.594e-05/0.5172, allocations: 7.922 kB / 0.95 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.41e-05/0.5172, allocations: 16.12 kB / 0.95 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.5173, allocations: 57.84 kB / 0.95 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.5174, allocations: 39.09 kB / 0.9501 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.825e-05/0.5174, allocations: 28.05 kB / 0.9501 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.5175, allocations: 23.98 kB / 0.9501 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.5175, allocations: 4.125 kB / 0.9501 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-06/0.5175, allocations: 4.125 kB / 0.9501 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.5175, allocations: 18.66 kB / 0.9501 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.5176, allocations: 26.69 kB / 0.9502 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.228e-05/0.5176, allocations: 76.95 kB / 0.9502 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5177, allocations: 1.375 kB / 0.9502 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.01e-07/0.5177, allocations: 0 / 0.9502 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.5177, allocations: 0 / 0.9502 GB, free: 8.172 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.0002958/0.518, allocations: 378.5 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.518, allocations: 9.625 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.518, allocations: 41.48 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.5181, allocations: 12.97 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.5182, allocations: 194.6 kB / 0.9509 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.5182, allocations: 10.94 kB / 0.9509 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.5182, allocations: 5.281 kB / 0.9509 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.5184, allocations: 102.2 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.5184, allocations: 7.922 kB / 0.951 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.5184, allocations: 5.094 kB / 0.951 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5184, allocations: 2.312 kB / 0.951 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.084e-05/0.5185, allocations: 31.64 kB / 0.951 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.5189, allocations: 440.9 kB / 0.9514 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.5189, allocations: 32.88 kB / 0.9515 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.5189, allocations: 27.86 kB / 0.9515 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.519, allocations: 4 kB / 0.9515 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.067e-05/0.519, allocations: 35.78 kB / 0.9515 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.519, allocations: 1.344 kB / 0.9515 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000139/0.5191, allocations: 54.73 kB / 0.9516 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.5191, allocations: 77.11 kB / 0.9517 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.5193, allocations: 163.7 kB / 0.9518 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.5193, allocations: 31.08 kB / 0.9518 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.5193, allocations: 111.8 kB / 0.9519 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-06/0.5193, allocations: 5.281 kB / 0.9519 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.5194, allocations: 16.38 kB / 0.952 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.5194, allocations: 317.4 kB / 0.9523 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.5194, allocations: 7.812 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.734e-05/0.5194, allocations: 23.2 kB / 0.9523 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.5195, allocations: 29.78 kB / 0.9523 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5195, allocations: 0 / 0.9523 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.663e-05/0.5195, allocations: 51.2 kB / 0.9524 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.5196, allocations: 12.64 kB / 0.9524 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.5196, allocations: 0.9688 kB / 0.9524 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.5196, allocations: 1 kB / 0.9524 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.5196, allocations: 13.34 kB / 0.9524 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.5197, allocations: 1.094 kB / 0.9524 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.5197, allocations: 5.938 kB / 0.9524 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.5197, allocations: 1.344 kB / 0.9524 GB, free: 5.949 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.326e-05/0.5197, allocations: 114.2 kB / 0.9525 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.5198, allocations: 11.25 kB / 0.9525 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.891e-05/0.5198, allocations: 11.67 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.5198, allocations: 0 / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5198, allocations: 1.312 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.5198, allocations: 0 / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.5201, allocations: 478.8 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5201, allocations: 0 / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.5201, allocations: 3.75 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5201, allocations: 5.281 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.5201, allocations: 0 / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.5201, allocations: 5.344 kB / 0.953 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5201, allocations: 4 kB / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.724e-05/0.5202, allocations: 91.11 kB / 0.9531 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.5202, allocations: 91.34 kB / 0.9532 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.5202, allocations: 1.062 kB / 0.9532 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.5203, allocations: 1.625 kB / 0.9532 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.5203, allocations: 0 / 0.9532 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.5203, allocations: 1.5 kB / 0.9532 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.5204, allocations: 124.8 kB / 0.9533 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5204, allocations: 0 / 0.9533 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001813/0.5205, allocations: 10.94 kB / 0.9533 GB, free: 4.992 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.0002007/0.5207, allocations: 0.614 MB / 0.9539 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.121e-05/0.5208, allocations: 18.75 kB / 0.9539 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5208, allocations: 0 / 0.9539 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/0.5208, allocations: 12.12 kB / 0.954 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.521, allocations: 10.86 kB / 0.954 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007835/0.5218, allocations: 1.349 MB / 0.9553 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.388e-05/0.5219, allocations: 0.6909 MB / 0.956 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.5219, allocations: 15.67 kB / 0.956 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.522, allocations: 23.94 kB / 0.956 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.522, allocations: 0 / 0.956 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.523/2.045, allocations: 1.42 MB / 0.9574 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001209/2.045, allocations: 214.3 kB / 0.9576 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.405/3.45, allocations: 0 / 0.9576 GB, free: 1.383 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