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.001198/0.001198, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001106/0.001106, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] 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.494/2.494, allocations: 476.7 MB / 0.7628 GB, free: 15.38 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.001937/0.001937, allocations: 67.89 kB / 1.107 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7884/0.7903, allocations: 168.7 MB / 1.271 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001799/0.7921, allocations: 0.8313 MB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.413e-05/0.7922, allocations: 46.14 kB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.7922, allocations: 0.8438 kB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.7923, allocations: 10.42 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.7924, allocations: 13.5 kB / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.466e-05/0.7924, allocations: 16.34 kB / 1.272 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.7925, allocations: 63.39 kB / 1.272 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.7926, allocations: 36.92 kB / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.7927, allocations: 30.25 kB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.7927, allocations: 26.27 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.7928, allocations: 10.19 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.7928, allocations: 5.531 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.7928, allocations: 16.33 kB / 1.272 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.7928, allocations: 29.03 kB / 1.272 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.7929, allocations: 80.97 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7929, allocations: 0.875 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7929, allocations: 0 / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.7929, allocations: 0 / 1.273 GB, free: 7.043 MB / 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.0003212/0.7933, allocations: 376.1 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.7933, allocations: 22.3 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.7933, allocations: 46.95 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.7934, allocations: 13.86 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.7935, allocations: 197.7 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.7935, allocations: 3.094 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.7935, allocations: 9.188 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.7937, allocations: 91.88 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.7937, allocations: 4.688 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.7937, allocations: 4.812 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.7937, allocations: 6.156 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.7938, allocations: 39.62 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.7942, allocations: 430.5 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.997e-05/0.7942, allocations: 41.91 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.7942, allocations: 24.2 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-06/0.7942, allocations: 0 / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.114e-05/0.7942, allocations: 32.78 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.7942, allocations: 0 / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000146/0.7944, allocations: 60.94 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.7944, allocations: 82.53 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.7945, allocations: 155.8 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.7945, allocations: 25.7 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.7946, allocations: 111.8 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.7946, allocations: 5.234 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.7946, allocations: 18.78 kB / 1.274 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.7946, allocations: 319.3 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.7947, allocations: 5.797 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.7947, allocations: 22.62 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.7947, allocations: 28.09 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7947, allocations: 0 / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.871e-05/0.7948, allocations: 61.59 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.7948, allocations: 9 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7948, allocations: 0.9375 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7948, allocations: 9.547 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.7949, allocations: 6.109 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7949, allocations: 0.7812 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.7949, allocations: 6.281 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.7949, allocations: 3.219 kB / 1.275 GB, free: 4.906 MB / 0.9981 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 4.146e-05/0.7949, allocations: 113.4 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.795, allocations: 15.44 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.795, allocations: 8.766 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.795, allocations: 4.656 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.795, allocations: 4.656 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.795, allocations: 0.9375 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.7953, allocations: 472.6 kB / 1.275 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7953, allocations: 0 / 1.275 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.67e-05/0.7953, allocations: 2.969 kB / 1.275 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.7953, allocations: 0.8438 kB / 1.275 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.7953, allocations: 1.125 kB / 1.275 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7953, allocations: 9.156 kB / 1.275 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7953, allocations: 7.484 kB / 1.275 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.417e-05/0.7953, allocations: 77.77 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.7954, allocations: 89.25 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.7954, allocations: 1.406 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.7954, allocations: 1.094 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.7954, allocations: 5.125 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.7954, allocations: 1.094 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.282e-05/0.7955, allocations: 123.9 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7955, allocations: 0 / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001761/0.7957, allocations: 7.344 kB / 1.276 GB, free: 3.988 MB / 0.9981 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.0002102/0.7959, allocations: 0.6153 MB / 1.276 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.692e-05/0.7959, allocations: 20.23 kB / 1.276 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7959, allocations: 0 / 1.276 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-06/0.796, allocations: 7.75 kB / 1.276 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.7961, allocations: 13.89 kB / 1.276 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.797, allocations: 1.332 MB / 1.278 GB, free: 18.13 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.7973, allocations: 0.6956 MB / 1.278 GB, free: 17.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.7973, allocations: 7.375 kB / 1.278 GB, free: 17.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.7973, allocations: 28.89 kB / 1.278 GB, free: 17.41 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.7973, allocations: 0.75 kB / 1.278 GB, free: 17.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.8208, allocations: 1.563 MB / 1.28 GB, free: 17.03 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/7.792, allocations: 10.08 kB / 1.28 GB, free: 17.02 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.122757067998464]