Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001288/0.001288, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001525/0.001525, allocations: 216.2 kB / 22.24 MB, free: 5.258 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.785 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.238/3.238, allocations: 0.49 GB / 0.7951 GB, free: 35.5 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.From_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_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.003195/0.003195, allocations: 68.88 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3895, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002897/0.3924, allocations: 0.8036 MB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001545/0.3925, allocations: 35.84 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.3926, allocations: 4 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.662e-05/0.3927, allocations: 7.875 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.391e-05/0.3928, allocations: 11.88 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.149e-05/0.3928, allocations: 15.98 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.393, allocations: 71.83 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3931, allocations: 27.98 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.3932, allocations: 31.84 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.3933, allocations: 31.8 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.3933, allocations: 4 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.3934, allocations: 8 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.3934, allocations: 15.92 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.3934, allocations: 19.88 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.3936, allocations: 83.8 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.3936, allocations: 7.922 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.696e-06/0.3936, allocations: 0 / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.3936, allocations: 4 kB / 1.327 GB, free: 344 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.0005654/0.3942, allocations: 302 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.3942, allocations: 8.031 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.814e-05/0.3943, allocations: 42.73 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.3943, allocations: 8.891 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.3946, allocations: 134.4 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3946, allocations: 8.219 kB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.3946, allocations: 12.38 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3948, allocations: 85.67 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3948, allocations: 3.938 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3948, allocations: 12 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3948, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.437e-05/0.3949, allocations: 39.92 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.3956, allocations: 391.8 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.89e-05/0.3957, allocations: 41.25 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.3957, allocations: 13.78 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.3957, allocations: 4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3958, allocations: 34.56 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.3958, allocations: 4 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002107/0.396, allocations: 57.52 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.3961, allocations: 81.05 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.3962, allocations: 164.6 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3963, allocations: 29.7 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3964, allocations: 104 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.849e-06/0.3964, allocations: 3.953 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.3964, allocations: 17.72 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.3966, allocations: 322.8 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.3966, allocations: 256 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.3967, allocations: 29.66 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.3967, allocations: 29.7 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3967, allocations: 3.938 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.772e-05/0.3968, allocations: 53.59 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3968, allocations: 11.94 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3968, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.3969, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.3969, allocations: 11.98 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3969, allocations: 4.062 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.397, allocations: 3.953 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.397, allocations: 4 kB / 1.329 GB, free: 14.07 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.00012/0.3971, allocations: 118.3 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.3972, allocations: 11.89 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.3972, allocations: 7.812 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3972, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3972, allocations: 3.984 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3972, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.3977, allocations: 437.9 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3977, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.3977, allocations: 4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3977, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3977, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3977, allocations: 3.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3977, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.3979, allocations: 85.83 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.3979, allocations: 7.953 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.3979, allocations: 4.094 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.3979, allocations: 4.094 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.398, allocations: 11.97 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.398, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001138/0.3981, allocations: 117.1 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3981, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001939/0.3983, allocations: 8 kB / 1.33 GB, free: 13.16 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.0005468/0.3988, allocations: 0.6209 MB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.422e-05/0.3989, allocations: 19.92 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3989, allocations: 4.156 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.3989, allocations: 4 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.3991, allocations: 8 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.4007, allocations: 1.334 MB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.4007, allocations: 83.12 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.612e-05/0.4008, allocations: 12.55 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.4009, allocations: 27.42 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.4009, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.4313, allocations: 2.129 MB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.73, allocations: 0 / 1.334 GB, free: 8.906 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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_12_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.673431322007673]