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.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.001291/0.001291, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001415/0.001415, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.24/3.24, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_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.002115/0.002115, allocations: 69.94 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3932, allocations: 179 MB / 1.345 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002402/0.3956, allocations: 0.7936 MB / 1.346 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000128/0.3958, allocations: 47.72 kB / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.3958, allocations: 4 kB / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.3959, allocations: 11.86 kB / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.396, allocations: 11.88 kB / 1.346 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.944e-05/0.396, allocations: 15.98 kB / 1.346 GB, free: 15 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3961, allocations: 63.89 kB / 1.346 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3963, allocations: 27.92 kB / 1.346 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.3964, allocations: 27.91 kB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.3964, allocations: 35.73 kB / 1.346 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3964, allocations: 8 kB / 1.346 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.3964, allocations: 8 kB / 1.346 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.3965, allocations: 15.92 kB / 1.346 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.3965, allocations: 19.88 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.3967, allocations: 83.84 kB / 1.346 GB, free: 14.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3967, allocations: 0 / 1.346 GB, free: 14.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3967, allocations: 0 / 1.346 GB, free: 14.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3967, allocations: 3.938 kB / 1.346 GB, free: 14.71 MB / 1.045 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.000579/0.3972, allocations: 302 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3973, allocations: 8.031 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.355e-05/0.3973, allocations: 8.188 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.3974, allocations: 46.67 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.3974, allocations: 16.84 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.3976, allocations: 126.4 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3976, allocations: 4.375 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.3977, allocations: 8.375 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3978, allocations: 105.3 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3979, allocations: 0 / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3979, allocations: 0 / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3979, allocations: 4 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.398, allocations: 39.92 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.3986, allocations: 391.8 kB / 1.347 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/0.3986, allocations: 41.14 kB / 1.347 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.3987, allocations: 21.84 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.3987, allocations: 4.031 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3987, allocations: 42.48 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3987, allocations: 0 / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001847/0.3989, allocations: 49.59 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.399, allocations: 81.36 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3991, allocations: 159.5 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3992, allocations: 25.7 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.3992, allocations: 108 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.3992, allocations: 7.953 kB / 1.348 GB, free: 12.94 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.3993, allocations: 17.72 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3994, allocations: 318.8 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.3994, allocations: 8 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.3995, allocations: 13.72 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/0.3995, allocations: 41.64 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3995, allocations: 0 / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.773e-05/0.3996, allocations: 57.55 kB / 1.348 GB, free: 12.46 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3996, allocations: 11.94 kB / 1.348 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3996, allocations: 0 / 1.348 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3996, allocations: 0 / 1.348 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.3997, allocations: 11.92 kB / 1.348 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3997, allocations: 8 kB / 1.348 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.3997, allocations: 0 / 1.348 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.3997, allocations: 0 / 1.348 GB, free: 12.43 MB / 1.045 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.273e-05/0.3998, allocations: 121.8 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.3999, allocations: 11.89 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.3999, allocations: 11.81 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3999, allocations: 3.984 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3999, allocations: 4 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3999, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.4004, allocations: 441.8 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4004, allocations: 0 / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.4004, allocations: 4 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4004, allocations: 64 / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4004, allocations: 4 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4004, allocations: 4 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4004, allocations: 0 / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.4005, allocations: 89.75 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.4005, allocations: 7.953 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.4006, allocations: 0 / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.432e-05/0.4006, allocations: 8 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.4006, allocations: 3.984 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-06/0.4006, allocations: 0 / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001163/0.4007, allocations: 122.5 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4007, allocations: 4.031 kB / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001842/0.4009, allocations: 8 kB / 1.349 GB, free: 11.5 MB / 1.045 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.0004878/0.4014, allocations: 0.6132 MB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.741e-05/0.4015, allocations: 16 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4015, allocations: 0 / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.4015, allocations: 7.938 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.4017, allocations: 4.281 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.403, allocations: 1.339 MB / 1.351 GB, free: 9.395 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.423e-05/0.4031, allocations: 83.12 kB / 1.351 GB, free: 9.293 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.4031, allocations: 8.422 kB / 1.351 GB, free: 9.285 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.4032, allocations: 23.42 kB / 1.351 GB, free: 9.262 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.4032, allocations: 3.938 kB / 1.351 GB, free: 9.258 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.4251, allocations: 1.751 MB / 1.353 GB, free: 7.652 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.01, allocations: 13.94 kB / 1.353 GB, free: 7.645 MB / 1.045 GB " [Timeout remaining time 288] (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/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: 18.89997334801592]