Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.001507/0.001507, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001753/0.001753, allocations: 223.6 kB / 23.03 MB, free: 4.945 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.611/1.611, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.21/3.21, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="cs",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.002295/0.002295, allocations: 64.25 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3938, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002654/0.3965, allocations: 0.8002 MB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001669/0.3966, allocations: 43.78 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/0.3967, allocations: 0 / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.364e-05/0.3968, allocations: 7.875 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.3969, allocations: 7.938 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.623e-05/0.397, allocations: 23.97 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3971, allocations: 67.78 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.3973, allocations: 31.98 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.3974, allocations: 27.86 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.968e-05/0.3974, allocations: 27.8 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.3975, allocations: 8 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.3975, allocations: 4 kB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.3975, allocations: 19.92 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.3975, allocations: 19.86 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.3977, allocations: 83.8 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3977, allocations: 4 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3977, allocations: 0 / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3977, allocations: 0 / 1.328 GB, free: 320 kB / 1.014 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.0005384/0.3982, allocations: 302.1 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3983, allocations: 12.03 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.729e-05/0.3983, allocations: 192 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.3984, allocations: 46.73 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.3984, allocations: 8.891 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3987, allocations: 146.1 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3987, allocations: 4.375 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3987, allocations: 12.38 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3989, allocations: 91.7 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3989, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3989, allocations: 7.984 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3989, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.489e-05/0.399, allocations: 47.86 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.3997, allocations: 383.8 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.3998, allocations: 45.33 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.3999, allocations: 21.77 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.3999, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.3999, allocations: 38.5 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3999, allocations: 0 / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002187/0.4001, allocations: 49.59 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.4002, allocations: 81.11 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.4004, allocations: 164.6 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4004, allocations: 25.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.4005, allocations: 108 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.4005, allocations: 7.953 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.4005, allocations: 17.97 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4007, allocations: 322.8 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.4007, allocations: 8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.4008, allocations: 17.7 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.4008, allocations: 25.72 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4008, allocations: 0 / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001106/0.4009, allocations: 61.58 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4009, allocations: 10.12 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.401, allocations: 4.062 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.401, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.401, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4011, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.4011, allocations: 3.953 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.4011, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 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.0001111/0.4012, allocations: 118.3 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.4013, allocations: 15.83 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.4013, allocations: 15.8 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4013, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4013, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.4013, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.4018, allocations: 437.8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.4018, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.4018, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4019, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.4019, allocations: 8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4019, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4019, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.402, allocations: 85.81 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.402, allocations: 15.98 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.402, allocations: 7.984 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.402, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.4021, allocations: 3.938 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.4021, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001162/0.4022, allocations: 121.1 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4022, allocations: 4 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000198/0.4024, allocations: 4 kB / 1.331 GB, free: 13.11 MB / 1.029 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.000468/0.4029, allocations: 0.6172 MB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.403, allocations: 15.94 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.403, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.403, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.4032, allocations: 9.031 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.4046, allocations: 1.336 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.302e-05/0.4047, allocations: 91.36 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.4048, allocations: 4.438 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.4048, allocations: 23.42 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4048, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.4272, allocations: 1.755 MB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.94, allocations: 3.812 kB / 1.334 GB, free: 9.25 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.009525630041026]