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.001377/0.001377, allocations: 110.3 kB / 16.46 MB, free: 6.453 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.001429/0.001429, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.247/3.247, allocations: 0.49 GB / 0.7916 GB, free: 33.57 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.002157/0.002157, allocations: 74.67 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3586, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002299/0.3609, allocations: 0.8286 MB / 1.322 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.361, allocations: 47.78 kB / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.3611, allocations: 0 / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.087e-05/0.3611, allocations: 11.86 kB / 1.322 GB, free: 2.512 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.752e-05/0.3612, allocations: 7.875 kB / 1.322 GB, free: 2.504 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.737e-05/0.3613, allocations: 19.98 kB / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3614, allocations: 59.84 kB / 1.322 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.3616, allocations: 39.91 kB / 1.322 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.3616, allocations: 23.88 kB / 1.322 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.3617, allocations: 27.84 kB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.3617, allocations: 8 kB / 1.322 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.3617, allocations: 8 kB / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.3618, allocations: 15.88 kB / 1.322 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.3618, allocations: 39.72 kB / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.362, allocations: 75.88 kB / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.362, allocations: 0 / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/0.362, allocations: 0 / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.362, allocations: 0 / 1.322 GB, free: 2.191 MB / 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.0004798/0.3624, allocations: 387.1 kB / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3625, allocations: 15.98 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.3625, allocations: 38.75 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.3626, allocations: 8.891 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.3628, allocations: 196.2 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3628, allocations: 8.375 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3628, allocations: 4.375 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.363, allocations: 95.86 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.363, allocations: 7.875 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.363, allocations: 4 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.363, allocations: 8 kB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.84e-05/0.3631, allocations: 35.92 kB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.3637, allocations: 440.8 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.798e-05/0.3638, allocations: 33.22 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.3638, allocations: 21.78 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.3638, allocations: 3.984 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3638, allocations: 34.5 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3638, allocations: 0 / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001747/0.364, allocations: 61.53 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.3641, allocations: 85.3 kB / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3642, allocations: 160.3 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3642, allocations: 29.64 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.3643, allocations: 108 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.3643, allocations: 3.953 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.3644, allocations: 13.72 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3645, allocations: 322.8 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.3645, allocations: 8 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.3646, allocations: 17.72 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.3646, allocations: 25.72 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3646, allocations: 3.938 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.502e-05/0.3647, allocations: 57.64 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3647, allocations: 7.938 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3647, allocations: 0 / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3647, allocations: 4.062 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.3648, allocations: 8 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3648, allocations: 7.938 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/0.3648, allocations: 7.953 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.3649, allocations: 4 kB / 1.324 GB, free: 15.69 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 8.897e-05/0.3649, allocations: 119.6 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.365, allocations: 11.89 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.365, allocations: 3.875 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.365, allocations: 4 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.365, allocations: 4 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.365, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.3655, allocations: 470.8 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3655, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.3655, allocations: 7.984 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3655, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.3655, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3655, allocations: 4.062 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3655, allocations: 4 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.414e-05/0.3656, allocations: 81.78 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.3656, allocations: 100.9 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3657, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.3657, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.3657, allocations: 4.031 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.3657, allocations: 7.938 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.91e-05/0.3658, allocations: 119.2 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3658, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001933/0.366, allocations: 8 kB / 1.325 GB, free: 14.64 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.0004212/0.3664, allocations: 0.6132 MB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.061e-05/0.3665, allocations: 23.92 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3665, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.34e-05/0.3665, allocations: 8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.3667, allocations: 5.484 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.3681, allocations: 1.335 MB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.3685, allocations: 0.6924 MB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.3686, allocations: 8.422 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.3686, allocations: 23.44 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of SimCode: time 8.91e-07/0.3686, allocations: 4 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.3942, allocations: 1.583 MB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.536, allocations: 5.453 kB / 1.329 GB, free: 10.28 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.454439691035077]