Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001484/0.001484, allocations: 108.3 kB / 16.46 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.001516/0.001516, 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.498/1.498, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.303/3.303, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 72.88 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3606, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002198/0.3628, allocations: 0.8317 MB / 1.305 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.3629, allocations: 39.78 kB / 1.305 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.363, allocations: 4 kB / 1.305 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.363, allocations: 7.875 kB / 1.305 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.186e-05/0.3631, allocations: 7.922 kB / 1.305 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.477e-05/0.3632, allocations: 27.92 kB / 1.305 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3633, allocations: 59.84 kB / 1.305 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3634, allocations: 27.98 kB / 1.305 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.3635, allocations: 23.86 kB / 1.305 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.3636, allocations: 31.8 kB / 1.305 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.3636, allocations: 4 kB / 1.305 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.3636, allocations: 8 kB / 1.305 GB, free: 476 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.3636, allocations: 19.91 kB / 1.305 GB, free: 456 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3637, allocations: 31.81 kB / 1.305 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.3638, allocations: 79.8 kB / 1.305 GB, free: 344 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3638, allocations: 8 kB / 1.305 GB, free: 336 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3638, allocations: 3.938 kB / 1.305 GB, free: 332 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3638, allocations: 0 / 1.305 GB, free: 332 kB / 0.9981 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.0004956/0.3643, allocations: 383.1 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3643, allocations: 8.922 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/0.3644, allocations: 42.73 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.3644, allocations: 8.891 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3647, allocations: 196.1 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3647, allocations: 12.36 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.3647, allocations: 12.31 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3649, allocations: 93.98 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3649, allocations: 3.938 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.3649, allocations: 0 / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3649, allocations: 4 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.365, allocations: 35.92 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.3656, allocations: 432.7 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.834e-05/0.3657, allocations: 41.28 kB / 1.306 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.3658, allocations: 25.83 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.3658, allocations: 0 / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3658, allocations: 34.56 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3658, allocations: 0 / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002044/0.366, allocations: 57.53 kB / 1.306 GB, free: 14.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.3661, allocations: 81.09 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3663, allocations: 154.3 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3663, allocations: 25.7 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.3664, allocations: 108.2 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.3664, allocations: 7.953 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.3664, allocations: 25.64 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3666, allocations: 318.8 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.3666, allocations: 7.984 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.3666, allocations: 17.72 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.3667, allocations: 29.72 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3667, allocations: 0 / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.333e-05/0.3668, allocations: 57.58 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3668, allocations: 11.94 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3668, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3668, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.3669, allocations: 8 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3669, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.3669, allocations: 3.953 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3669, allocations: 8 kB / 1.307 GB, free: 13.84 MB / 1.014 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.0001129/0.367, allocations: 129.3 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.3671, allocations: 11.89 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.3671, allocations: 11.86 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3671, allocations: 7.875 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3671, allocations: 4 kB / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3671, allocations: 0 / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.3676, allocations: 474.8 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3676, allocations: 3.938 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.3676, allocations: 4 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3676, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3676, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3676, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3676, allocations: 3.984 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.3677, allocations: 82.05 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.3678, allocations: 96.97 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3678, allocations: 4 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.3678, allocations: 0 / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.3679, allocations: 0 / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3679, allocations: 3.938 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001046/0.368, allocations: 122.3 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.368, allocations: 0 / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001907/0.3682, allocations: 11.95 kB / 1.308 GB, free: 12.78 MB / 1.014 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.0005139/0.3687, allocations: 0.6172 MB / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.3688, allocations: 15.94 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3688, allocations: 160 / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.3688, allocations: 8 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.3689, allocations: 11.98 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3703, allocations: 1.335 MB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.3707, allocations: 0.6929 MB / 1.311 GB, free: 9.945 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.501e-05/0.3708, allocations: 8.422 kB / 1.311 GB, free: 9.938 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.3708, allocations: 19.44 kB / 1.311 GB, free: 9.918 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3708, allocations: 0 / 1.311 GB, free: 9.918 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.3967, allocations: 1.587 MB / 1.312 GB, free: 8.422 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.619, allocations: 15.69 kB / 1.312 GB, free: 8.414 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.546078369021416]