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.001299/0.001299, allocations: 116.8 kB / 17.17 MB, free: 6 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.001528/0.001528, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.581/1.581, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.093/3.093, allocations: 0.49 GB / 0.7923 GB, free: 1.496 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="cs",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.002112/0.002112, allocations: 71.89 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9641/0.9662, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001887/0.9681, allocations: 0.8308 MB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.9682, allocations: 48.03 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.9682, allocations: 0 / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.9683, allocations: 10.69 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.9684, allocations: 11.25 kB / 1.322 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.371e-05/0.9684, allocations: 18.61 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.9685, allocations: 61.98 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.9686, allocations: 28.06 kB / 1.322 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.519e-05/0.9687, allocations: 28.36 kB / 1.322 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.9687, allocations: 35.66 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.9688, allocations: 7.25 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.9688, allocations: 8.75 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.9688, allocations: 10.72 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.9688, allocations: 38.06 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.9689, allocations: 75.09 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9689, allocations: 4 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9689, allocations: 0 / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.969, allocations: 0 / 1.323 GB, free: 23.98 MB / 1.061 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.0003907/0.9693, allocations: 379.4 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9694, allocations: 13.2 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.487e-05/0.9694, allocations: 11.56 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.366e-05/0.9694, allocations: 37.84 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.9695, allocations: 7.266 kB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.9696, allocations: 195.2 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.9696, allocations: 7.188 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.9696, allocations: 5.875 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.9698, allocations: 101.6 kB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.9698, allocations: 0 / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.9698, allocations: 6.531 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.9698, allocations: 2.281 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.46e-05/0.9699, allocations: 33.45 kB / 1.323 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.9703, allocations: 440.3 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.194e-05/0.9703, allocations: 44.41 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.9704, allocations: 26.75 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.9704, allocations: 3.938 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.9704, allocations: 37.66 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.9704, allocations: 3.938 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001612/0.9706, allocations: 54.86 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.9706, allocations: 84.58 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.9707, allocations: 161.3 kB / 1.324 GB, free: 22.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.9707, allocations: 28.64 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.9707, allocations: 98.41 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.9707, allocations: 3.953 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.9708, allocations: 19.84 kB / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.9708, allocations: 318.2 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.9708, allocations: 10.19 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.9709, allocations: 19.69 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.153e-05/0.9709, allocations: 30 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9709, allocations: 0 / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.54e-05/0.9709, allocations: 56.52 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.971, allocations: 9.531 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.971, allocations: 8 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.971, allocations: 4.094 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.971, allocations: 9.703 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.971, allocations: 0 / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.9711, allocations: 13.78 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.9711, allocations: 2.781 kB / 1.325 GB, free: 21.84 MB / 1.061 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.852e-05/0.9711, allocations: 112.8 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.9712, allocations: 10.77 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.9712, allocations: 10.31 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.9712, allocations: 10.14 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9712, allocations: 0 / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9712, allocations: 0 / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.9715, allocations: 471.5 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9715, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.9715, allocations: 2.875 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.9715, allocations: 2.781 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.9715, allocations: 4.062 kB / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.9715, allocations: 0 / 1.325 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9715, allocations: 6.906 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.307e-05/0.9716, allocations: 84.44 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.9716, allocations: 87.78 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.9716, allocations: 6.047 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.9716, allocations: 32 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.9716, allocations: 4 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.9716, allocations: 2.875 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.612e-05/0.9717, allocations: 119.7 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.9717, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001826/0.9719, allocations: 9.5 kB / 1.326 GB, free: 20.92 MB / 1.061 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.0002882/0.9722, allocations: 0.6195 MB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.933e-05/0.9723, allocations: 18.58 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9723, allocations: 0 / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.9723, allocations: 6.531 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.9725, allocations: 10.61 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.9734, allocations: 1.332 MB / 1.328 GB, free: 19.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.9736, allocations: 0.6969 MB / 1.328 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.9736, allocations: 6 kB / 1.328 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.9737, allocations: 21.27 kB / 1.328 GB, free: 18.35 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.9737, allocations: 4 kB / 1.328 GB, free: 18.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.9914, allocations: 1.631 MB / 1.33 GB, free: 17.94 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.573/9.564, allocations: 9.953 kB / 1.33 GB, free: 17.93 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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: 16.333561784995254]