Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001595/0.001595, allocations: 109 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.001812/0.001812, allocations: 191.8 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.487/1.487, 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.805/2.805, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 176] 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.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 67.89 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8658/0.868, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002309/0.8703, allocations: 0.8425 MB / 1.27 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.8704, allocations: 43.78 kB / 1.27 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.8705, allocations: 4 kB / 1.27 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.8705, allocations: 7.875 kB / 1.27 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.8706, allocations: 7.938 kB / 1.27 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.972e-05/0.8706, allocations: 23.91 kB / 1.27 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.8708, allocations: 59.84 kB / 1.27 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.8709, allocations: 31.94 kB / 1.27 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.871, allocations: 23.92 kB / 1.27 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.871, allocations: 31.78 kB / 1.27 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.8711, allocations: 8 kB / 1.27 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.8711, allocations: 8 kB / 1.27 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.8711, allocations: 15.92 kB / 1.27 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.8711, allocations: 35.75 kB / 1.27 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.8713, allocations: 77.45 kB / 1.27 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8713, allocations: 0 / 1.27 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8713, allocations: 0 / 1.27 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.597e-05/0.8713, allocations: 0 / 1.27 GB, free: 3.941 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.0005119/0.8718, allocations: 375.2 kB / 1.27 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.8719, allocations: 12.03 kB / 1.27 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.8719, allocations: 42.73 kB / 1.27 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.8719, allocations: 16.78 kB / 1.27 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.8722, allocations: 196.1 kB / 1.271 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.8722, allocations: 8.375 kB / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.8722, allocations: 4.375 kB / 1.271 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.8724, allocations: 91.94 kB / 1.271 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.8724, allocations: 3.938 kB / 1.271 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.8724, allocations: 11.94 kB / 1.271 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8724, allocations: 4 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.716e-05/0.8725, allocations: 31.98 kB / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.8731, allocations: 432.7 kB / 1.271 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.118e-05/0.8732, allocations: 45.27 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.8732, allocations: 21.84 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.8732, allocations: 7.938 kB / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.8732, allocations: 38.48 kB / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8732, allocations: 0 / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001752/0.8734, allocations: 49.59 kB / 1.271 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.8735, allocations: 81.3 kB / 1.271 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.8736, allocations: 163.5 kB / 1.272 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.8737, allocations: 29.7 kB / 1.272 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.8737, allocations: 104.1 kB / 1.272 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.8738, allocations: 7.938 kB / 1.272 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.8738, allocations: 17.67 kB / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.8739, allocations: 318.8 kB / 1.272 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.8739, allocations: 8 kB / 1.272 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.874, allocations: 25.7 kB / 1.272 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.874, allocations: 25.72 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.874, allocations: 0 / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.005e-05/0.8741, allocations: 53.59 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.8741, allocations: 7.938 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8741, allocations: 4 kB / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.8742, allocations: 7.984 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.8742, allocations: 12.06 kB / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.8742, allocations: 3.938 kB / 1.272 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.8743, allocations: 7.938 kB / 1.272 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.8743, allocations: 0 / 1.272 GB, free: 1.441 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 9.706e-05/0.8744, allocations: 117.8 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.8744, allocations: 11.89 kB / 1.272 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.8745, allocations: 11.86 kB / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8745, allocations: 0 / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.8745, allocations: 0 / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.8745, allocations: 8 kB / 1.272 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.8749, allocations: 470.7 kB / 1.273 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8749, allocations: 4 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.8749, allocations: 0 / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.8749, allocations: 4 kB / 1.273 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.8749, allocations: 0 / 1.273 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8749, allocations: 0 / 1.273 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8749, allocations: 4.062 kB / 1.273 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.875, allocations: 85.81 kB / 1.273 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.8751, allocations: 85.06 kB / 1.273 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.8751, allocations: 3.984 kB / 1.273 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/0.8751, allocations: 0 / 1.273 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.8752, allocations: 4 kB / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.8752, allocations: 4.031 kB / 1.273 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.193e-05/0.8753, allocations: 125.2 kB / 1.273 GB, free: 416 kB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.8753, allocations: 0 / 1.273 GB, free: 416 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001879/0.8754, allocations: 12 kB / 1.273 GB, free: 404 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.0005148/0.876, allocations: 0.6094 MB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.904e-05/0.8761, allocations: 19.94 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8761, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.8761, allocations: 8 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.8762, allocations: 17.72 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.8776, allocations: 1.331 MB / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.8779, allocations: 0.6967 MB / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.878, allocations: 4.438 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.878, allocations: 27.42 kB / 1.276 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.878, allocations: 0 / 1.276 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.9017, allocations: 1.589 MB / 1.277 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/9.101, allocations: 18.97 kB / 1.277 GB, free: 12.02 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.398822015617043]