Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 108.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.89 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8633/0.8655, allocations: 168.7 MB / 1.269 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002407/0.8679, allocations: 0.835 MB / 1.27 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.868, allocations: 43.78 kB / 1.27 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.378e-05/0.8681, allocations: 4 kB / 1.27 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/0.8682, allocations: 11.86 kB / 1.27 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.8683, allocations: 3.938 kB / 1.27 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.187e-05/0.8684, allocations: 19.98 kB / 1.27 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.8686, allocations: 67.72 kB / 1.27 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.8688, allocations: 35.92 kB / 1.27 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.8689, allocations: 23.88 kB / 1.27 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.869, allocations: 31.84 kB / 1.27 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.869, allocations: 4 kB / 1.27 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.869, allocations: 8 kB / 1.27 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.869, allocations: 11.94 kB / 1.27 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.8691, allocations: 39.78 kB / 1.27 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.8693, allocations: 69.42 kB / 1.27 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.8693, allocations: 4 kB / 1.27 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.887e-06/0.8693, allocations: 0 / 1.27 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.8693, allocations: 7.938 kB / 1.27 GB, free: 3.914 MB / 0.9669 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.0007852/0.8701, allocations: 375.1 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.024e-05/0.8702, allocations: 12.03 kB / 1.27 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.668e-05/0.8703, allocations: 42.75 kB / 1.27 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.8703, allocations: 16.83 kB / 1.27 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.8707, allocations: 196.1 kB / 1.271 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.8707, allocations: 4.375 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.8707, allocations: 8.375 kB / 1.271 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.871, allocations: 94.3 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.8711, allocations: 3.938 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.8711, allocations: 4 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.8711, allocations: 4 kB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.8712, allocations: 39.91 kB / 1.271 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008781/0.8721, allocations: 432.7 kB / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.8722, allocations: 45.28 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.8722, allocations: 17.84 kB / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.8723, allocations: 0 / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.8723, allocations: 38.56 kB / 1.271 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8723, allocations: 0 / 1.271 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002959/0.8726, allocations: 61.52 kB / 1.271 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/0.8727, allocations: 77.11 kB / 1.271 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.8729, allocations: 161.9 kB / 1.271 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.873, allocations: 25.7 kB / 1.272 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.8731, allocations: 100.1 kB / 1.272 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.8731, allocations: 3.953 kB / 1.272 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.8732, allocations: 25.92 kB / 1.272 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.8734, allocations: 326.8 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.8734, allocations: 4 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.8734, allocations: 21.66 kB / 1.272 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.138e-05/0.8735, allocations: 25.7 kB / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.8735, allocations: 0 / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000132/0.8736, allocations: 61.59 kB / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.8737, allocations: 15.88 kB / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8737, allocations: 0 / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.8737, allocations: 0 / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.8738, allocations: 7.984 kB / 1.272 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8738, allocations: 4 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.8738, allocations: 7.938 kB / 1.272 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.8739, allocations: 4 kB / 1.272 GB, free: 1.422 MB / 0.9669 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.0001524/0.874, allocations: 117.9 kB / 1.272 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.8741, allocations: 11.89 kB / 1.272 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.8741, allocations: 7.969 kB / 1.272 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.8741, allocations: 3.984 kB / 1.272 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.8741, allocations: 11.92 kB / 1.272 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8741, allocations: 0 / 1.272 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.8748, allocations: 466.8 kB / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8748, allocations: 4.062 kB / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.8748, allocations: 7.938 kB / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8748, allocations: 0 / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.8748, allocations: 0 / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8748, allocations: 0 / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8748, allocations: 0 / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.875, allocations: 85.88 kB / 1.273 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.8751, allocations: 85.09 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.8751, allocations: 4 kB / 1.273 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.8751, allocations: 0 / 1.273 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.8751, allocations: 3.984 kB / 1.273 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.8751, allocations: 0 / 1.273 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001334/0.8753, allocations: 127.2 kB / 1.273 GB, free: 396 kB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.8753, allocations: 0 / 1.273 GB, free: 396 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002102/0.8755, allocations: 8 kB / 1.273 GB, free: 388 kB / 0.9669 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.0006231/0.8761, allocations: 0.6177 MB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.8762, allocations: 15.94 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8762, allocations: 0 / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-05/0.8762, allocations: 4.219 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.8764, allocations: 19.91 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.8779, allocations: 1.334 MB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.8782, allocations: 0.6928 MB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.8782, allocations: 12.42 kB / 1.276 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.8783, allocations: 27.42 kB / 1.276 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of SimCode: time 1.021e-06/0.8783, allocations: 0 / 1.276 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.9102, allocations: 1.598 MB / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/9.091, allocations: 10.33 kB / 1.277 GB, free: 11.99 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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: 15.393902657553554]