Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002502/0.002502, allocations: 219 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.393/3.393, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 66.77 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3994, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002801/0.4022, allocations: 0.8396 MB / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.4024, allocations: 43.78 kB / 1.354 GB, free: 7.559 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.4025, allocations: 4 kB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.501e-05/0.4026, allocations: 11.86 kB / 1.354 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.4027, allocations: 7.875 kB / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.524e-05/0.4027, allocations: 19.98 kB / 1.354 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.4029, allocations: 63.83 kB / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.4031, allocations: 27.97 kB / 1.354 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.4032, allocations: 31.86 kB / 1.354 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.4033, allocations: 31.8 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.4033, allocations: 4 kB / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.4033, allocations: 8 kB / 1.354 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.4034, allocations: 19.92 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.4034, allocations: 31.75 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.4036, allocations: 75.86 kB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.4036, allocations: 3.984 kB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.464e-06/0.4036, allocations: 0 / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.4037, allocations: 0 / 1.354 GB, free: 7.223 MB / 1.045 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.0007743/0.4044, allocations: 310 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4045, allocations: 8.031 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.883e-05/0.4045, allocations: 42.73 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.4046, allocations: 12.83 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.405, allocations: 134.4 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.405, allocations: 4.375 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.405, allocations: 8.375 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.4052, allocations: 96.89 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4053, allocations: 7.938 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4053, allocations: 0 / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.4053, allocations: 4 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.4054, allocations: 35.98 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008716/0.4063, allocations: 403.8 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/0.4063, allocations: 41.16 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.4064, allocations: 21.84 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4064, allocations: 4.078 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4065, allocations: 34.5 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.724e-06/0.4065, allocations: 3.938 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002945/0.4068, allocations: 65.73 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.4069, allocations: 77.11 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.4071, allocations: 160.7 kB / 1.355 GB, free: 5.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.4071, allocations: 25.7 kB / 1.355 GB, free: 5.559 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.4073, allocations: 108 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.4073, allocations: 3.953 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.4073, allocations: 17.72 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0003007/0.4076, allocations: 322.8 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/0.4077, allocations: 8.031 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/0.4077, allocations: 17.72 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.4078, allocations: 33.64 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4078, allocations: 0 / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002247/0.408, allocations: 49.66 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.408, allocations: 11.94 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4081, allocations: 4.062 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.4081, allocations: 4 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.4082, allocations: 15.92 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4082, allocations: 0 / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.4082, allocations: 3.953 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.4082, allocations: 4 kB / 1.356 GB, free: 4.93 MB / 1.045 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.0001344/0.4084, allocations: 117.8 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.4084, allocations: 11.89 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.4085, allocations: 7.812 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.4085, allocations: 8 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4085, allocations: 0 / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.4085, allocations: 3.984 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/0.4092, allocations: 449.7 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4092, allocations: 0 / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.4092, allocations: 4 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4092, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4092, allocations: 4.062 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4092, allocations: 0 / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4092, allocations: 4 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.4093, allocations: 81.81 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.4094, allocations: 11.95 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.4094, allocations: 0 / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/0.4094, allocations: 4.031 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.4094, allocations: 0 / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4094, allocations: 4 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001345/0.4096, allocations: 124.8 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4096, allocations: 0 / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002258/0.4098, allocations: 7.938 kB / 1.357 GB, free: 4.012 MB / 1.045 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.0005558/0.4103, allocations: 0.6171 MB / 1.357 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.4104, allocations: 19.98 kB / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4104, allocations: 0 / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.4105, allocations: 7.938 kB / 1.357 GB, free: 3.336 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.4106, allocations: 4 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.4121, allocations: 1.332 MB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.4125, allocations: 0.6924 MB / 1.359 GB, free: 1.184 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.4126, allocations: 8.422 kB / 1.359 GB, free: 1.176 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.4126, allocations: 23.44 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.4126, allocations: 4 kB / 1.36 GB, free: 1.148 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.4454, allocations: 1.702 MB / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.57, allocations: 5.484 kB / 1.361 GB, free: 15.57 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.75262240599841]