Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001842/0.001842, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002613/0.002613, allocations: 216.2 kB / 22.25 MB, free: 5.262 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.587/1.587, 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.316/3.316, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 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.To_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_12_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.002271/0.002271, allocations: 61.69 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3716, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00274/0.3743, allocations: 0.7958 MB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001889/0.3745, allocations: 43.78 kB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.3746, allocations: 0 / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.276e-05/0.3747, allocations: 11.86 kB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.3748, allocations: 11.88 kB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.043e-05/0.3748, allocations: 19.98 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.375, allocations: 63.83 kB / 1.326 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.3752, allocations: 35.97 kB / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.3753, allocations: 31.8 kB / 1.326 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.239e-05/0.3754, allocations: 19.86 kB / 1.326 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3754, allocations: 8 kB / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.3754, allocations: 4 kB / 1.326 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.3754, allocations: 19.92 kB / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.3755, allocations: 19.81 kB / 1.326 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.3757, allocations: 91.78 kB / 1.326 GB, free: 1.172 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3757, allocations: 0 / 1.326 GB, free: 1.172 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3757, allocations: 0 / 1.326 GB, free: 1.172 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.3757, allocations: 0 / 1.326 GB, free: 1.172 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.0005947/0.3763, allocations: 302 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.3763, allocations: 12.03 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.055e-05/0.3764, allocations: 38.73 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.3765, allocations: 12.89 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3767, allocations: 130.4 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3768, allocations: 8.281 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3768, allocations: 12.38 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.377, allocations: 93.61 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.377, allocations: 3.938 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.377, allocations: 4 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.377, allocations: 4 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3772, allocations: 39.92 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.3779, allocations: 387.8 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.378, allocations: 41.19 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.3781, allocations: 25.84 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3781, allocations: 7.922 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.3781, allocations: 30.56 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3781, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002425/0.3784, allocations: 61.52 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.3785, allocations: 77.11 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.3786, allocations: 164 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3787, allocations: 25.7 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.3787, allocations: 104 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.3788, allocations: 8.203 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.3788, allocations: 21.72 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.379, allocations: 322.8 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.379, allocations: 4 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.379, allocations: 17.72 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.703e-05/0.3791, allocations: 33.64 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3791, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.649e-05/0.3792, allocations: 57.59 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3792, allocations: 7.938 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3792, allocations: 8.062 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3792, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.549e-05/0.3793, allocations: 7.984 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3793, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.3793, allocations: 7.953 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.3793, allocations: 0 / 1.328 GB, free: 14.9 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.0001036/0.3794, allocations: 118.3 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.3795, allocations: 11.89 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.3795, allocations: 11.81 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3795, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3795, allocations: 11.98 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3795, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.3799, allocations: 433.9 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3799, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.38, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.38, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.38, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.38, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.38, allocations: 7.938 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.3801, allocations: 89.89 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.3801, allocations: 7.953 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3801, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.3801, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.3802, allocations: 11.98 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3802, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001037/0.3803, allocations: 121 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3803, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001883/0.3805, allocations: 8 kB / 1.329 GB, free: 13.98 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.000498/0.381, allocations: 0.6171 MB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.3811, allocations: 27.86 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3811, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.3811, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.3812, allocations: 8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.3829, allocations: 1.33 MB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.3831, allocations: 87.38 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.561e-05/0.3831, allocations: 8.422 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.3832, allocations: 23.42 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 1.032e-06/0.3832, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.4149, allocations: 2.099 MB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.89, allocations: 8.031 kB / 1.333 GB, free: 9.762 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.07716117007658]