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.001816/0.001816, allocations: 110 kB / 16.41 MB, free: 6.508 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.001996/0.001996, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.471/1.471, allocations: 222.9 MB / 245 MB, free: 15.01 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.756/2.756, allocations: 469.8 MB / 0.749 GB, free: 3.062 MB / 0.6075 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.001977/0.001977, allocations: 71.88 kB / 1.073 GB, free: 136 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 159.1 MB / 1.229 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002516/1.06, allocations: 0.8315 MB / 1.229 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002161/1.061, allocations: 43.78 kB / 1.23 GB, free: 4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/1.061, allocations: 0 / 1.23 GB, free: 4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.691e-05/1.061, allocations: 15.86 kB / 1.23 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/1.061, allocations: 7.875 kB / 1.23 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.36e-05/1.061, allocations: 19.98 kB / 1.23 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/1.061, allocations: 59.84 kB / 1.23 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/1.062, allocations: 55.89 kB / 1.23 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/1.062, allocations: 19.88 kB / 1.23 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/1.062, allocations: 31.84 kB / 1.23 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/1.062, allocations: 8 kB / 1.23 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/1.062, allocations: 4 kB / 1.23 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/1.062, allocations: 15.88 kB / 1.23 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.227e-05/1.062, allocations: 35.8 kB / 1.23 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/1.062, allocations: 73.47 kB / 1.23 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.062, allocations: 0 / 1.23 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/1.062, allocations: 3.938 kB / 1.23 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.186e-05/1.062, allocations: 4 kB / 1.23 GB, free: 3.652 MB / 0.9356 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.0005715/1.063, allocations: 379.1 kB / 1.23 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.063, allocations: 8.031 kB / 1.23 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/1.063, allocations: 38.75 kB / 1.23 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/1.063, allocations: 12.84 kB / 1.23 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/1.063, allocations: 200.1 kB / 1.23 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/1.063, allocations: 8.375 kB / 1.23 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/1.063, allocations: 8.312 kB / 1.23 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/1.063, allocations: 99.8 kB / 1.231 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.063, allocations: 3.938 kB / 1.231 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/1.063, allocations: 8 kB / 1.231 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/1.063, allocations: 0 / 1.231 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.062e-05/1.063, allocations: 31.98 kB / 1.231 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/1.064, allocations: 444.7 kB / 1.231 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.05e-05/1.064, allocations: 41.16 kB / 1.231 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/1.064, allocations: 17.84 kB / 1.231 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/1.064, allocations: 4 kB / 1.231 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/1.064, allocations: 38.59 kB / 1.231 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/1.064, allocations: 0 / 1.231 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001967/1.065, allocations: 57.52 kB / 1.231 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/1.065, allocations: 81.11 kB / 1.231 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/1.065, allocations: 157.1 kB / 1.231 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.065, allocations: 29.7 kB / 1.231 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/1.065, allocations: 100.1 kB / 1.232 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/1.065, allocations: 7.953 kB / 1.232 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/1.065, allocations: 21.92 kB / 1.232 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.065, allocations: 318.8 kB / 1.232 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/1.065, allocations: 8 kB / 1.232 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/1.065, allocations: 17.72 kB / 1.232 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.299e-05/1.065, allocations: 33.64 kB / 1.232 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.065, allocations: 0 / 1.232 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.28e-05/1.065, allocations: 57.59 kB / 1.232 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.065, allocations: 7.938 kB / 1.232 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.065, allocations: 4.094 kB / 1.232 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.065, allocations: 3.984 kB / 1.232 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/1.065, allocations: 11.92 kB / 1.232 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.065, allocations: 0 / 1.232 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/1.066, allocations: 7.938 kB / 1.232 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/1.066, allocations: 0 / 1.232 GB, free: 1.156 MB / 0.9356 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.601e-05/1.066, allocations: 117.9 kB / 1.232 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/1.066, allocations: 11.89 kB / 1.232 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/1.066, allocations: 11.88 kB / 1.232 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.066, allocations: 4 kB / 1.232 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.066, allocations: 0 / 1.232 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.066, allocations: 7.984 kB / 1.232 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/1.066, allocations: 470.7 kB / 1.233 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.066, allocations: 8.062 kB / 1.233 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/1.066, allocations: 3.938 kB / 1.233 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/1.066, allocations: 4 kB / 1.233 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/1.066, allocations: 0 / 1.233 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.066, allocations: 0 / 1.233 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.066, allocations: 0 / 1.233 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.953e-05/1.066, allocations: 81.81 kB / 1.233 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/1.066, allocations: 93.09 kB / 1.233 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/1.066, allocations: 0 / 1.233 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/1.067, allocations: 4 kB / 1.233 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/1.067, allocations: 3.984 kB / 1.233 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/1.067, allocations: 0 / 1.233 GB, free: 240 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.907e-05/1.067, allocations: 121.3 kB / 1.233 GB, free: 120 kB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/1.067, allocations: 0 / 1.233 GB, free: 120 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001921/1.067, allocations: 8 kB / 1.233 GB, free: 112 kB / 0.9356 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.0004909/1.067, allocations: 0.6176 MB / 1.234 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.835e-05/1.067, allocations: 15.98 kB / 1.234 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.067, allocations: 0 / 1.234 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.528e-05/1.067, allocations: 12.16 kB / 1.234 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/1.068, allocations: 8 kB / 1.234 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/1.069, allocations: 1.327 MB / 1.235 GB, free: 14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/1.069, allocations: 0.6929 MB / 1.236 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.406e-05/1.07, allocations: 12.42 kB / 1.236 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/1.07, allocations: 27.42 kB / 1.236 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/1.07, allocations: 0 / 1.236 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/1.094, allocations: 1.573 MB / 1.237 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/9.157, allocations: 21.09 kB / 1.237 GB, free: 11.75 MB / 0.9512 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.24858001084067]