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.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.001358/0.001358, allocations: 103 kB / 16.45 MB, free: 6.449 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.001422/0.001422, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002118/0.002118, allocations: 69.78 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9869/0.9891, allocations: 169.9 MB / 1.278 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002675/0.9917, allocations: 0.8379 MB / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.9919, allocations: 39.84 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.992, allocations: 0 / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.228e-05/0.992, allocations: 15.8 kB / 1.279 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.9921, allocations: 15.88 kB / 1.279 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.852e-05/0.9922, allocations: 15.98 kB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.9924, allocations: 67.83 kB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.9925, allocations: 31.97 kB / 1.279 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.831e-05/0.9926, allocations: 27.81 kB / 1.279 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.9927, allocations: 27.84 kB / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.9927, allocations: 8 kB / 1.279 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.9927, allocations: 4 kB / 1.279 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.9928, allocations: 11.94 kB / 1.279 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.9928, allocations: 39.73 kB / 1.279 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.993, allocations: 77.41 kB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.993, allocations: 4 kB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.694e-06/0.993, allocations: 0 / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.993, allocations: 0 / 1.279 GB, free: 12.25 MB / 0.9825 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.0005789/0.9936, allocations: 383.1 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.9936, allocations: 8.031 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.9937, allocations: 38.75 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.9937, allocations: 12.88 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.994, allocations: 196.1 kB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.994, allocations: 8.375 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.994, allocations: 12.38 kB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.9942, allocations: 89.58 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.9942, allocations: 3.938 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.9942, allocations: 8 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.9942, allocations: 0 / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.9943, allocations: 39.91 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.995, allocations: 440.7 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.188e-05/0.995, allocations: 41.25 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.9951, allocations: 17.78 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.9951, allocations: 0 / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.9951, allocations: 38.56 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.9951, allocations: 0 / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002015/0.9953, allocations: 57.52 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.9954, allocations: 77.11 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.9956, allocations: 161.3 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.9956, allocations: 25.7 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.9957, allocations: 108.3 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.9957, allocations: 15.89 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.9958, allocations: 17.66 kB / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9959, allocations: 318.8 kB / 1.281 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.9959, allocations: 8 kB / 1.281 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.9959, allocations: 17.66 kB / 1.282 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.354e-05/0.996, allocations: 33.7 kB / 1.282 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.996, allocations: 4 kB / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.9961, allocations: 53.59 kB / 1.282 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.9961, allocations: 7.938 kB / 1.282 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.9961, allocations: 4 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.9961, allocations: 4 kB / 1.282 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.9962, allocations: 7.984 kB / 1.282 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.9962, allocations: 0 / 1.282 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.9963, allocations: 15.89 kB / 1.282 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.9963, allocations: 3.984 kB / 1.282 GB, free: 9.746 MB / 0.9825 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.0001005/0.9964, allocations: 117.9 kB / 1.282 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.9964, allocations: 11.89 kB / 1.282 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.9965, allocations: 7.875 kB / 1.282 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9965, allocations: 3.984 kB / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9965, allocations: 0 / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.9965, allocations: 0 / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.997, allocations: 474.8 kB / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.997, allocations: 0 / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.997, allocations: 7.938 kB / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.997, allocations: 0 / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.997, allocations: 4 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.997, allocations: 0 / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.997, allocations: 0 / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.9971, allocations: 81.94 kB / 1.282 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.519e-05/0.9972, allocations: 93.02 kB / 1.282 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.9972, allocations: 96 / 1.282 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.9972, allocations: 0 / 1.282 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.9972, allocations: 11.97 kB / 1.282 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.9972, allocations: 0 / 1.282 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001069/0.9974, allocations: 119.2 kB / 1.283 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9974, allocations: 0 / 1.283 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001952/0.9975, allocations: 15.94 kB / 1.283 GB, free: 8.699 MB / 0.9825 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.0004713/0.998, allocations: 0.6137 MB / 1.283 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.593e-05/0.9981, allocations: 19.94 kB / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9981, allocations: 160 / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.9981, allocations: 12 kB / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.9983, allocations: 7.938 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.9997, allocations: 1.319 MB / 1.284 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1, allocations: 0.6968 MB / 1.285 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.7e-05/1, allocations: 8.422 kB / 1.285 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/1, allocations: 27.42 kB / 1.285 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of SimCode: time 5.1e-07/1, allocations: 0 / 1.285 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/1.032, allocations: 1.585 MB / 1.287 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/9.147, allocations: 13.94 kB / 1.287 GB, free: 4.34 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.43307525292039]