Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00881/0.00881, allocations: 98.55 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002451/0.002451, allocations: 201.9 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 72.11 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002018/0.3021, allocations: 0.8176 MB / 1.242 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001195/0.3022, allocations: 47.78 kB / 1.242 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.3023, allocations: 0 / 1.242 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.3023, allocations: 7.875 kB / 1.242 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.3024, allocations: 7.875 kB / 1.242 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.588e-05/0.3025, allocations: 19.98 kB / 1.242 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.3026, allocations: 67.77 kB / 1.242 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3027, allocations: 39.97 kB / 1.242 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.3028, allocations: 23.88 kB / 1.242 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.3028, allocations: 31.83 kB / 1.243 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3029, allocations: 8 kB / 1.243 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.3029, allocations: 8 kB / 1.243 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.3029, allocations: 19.92 kB / 1.243 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.303, allocations: 35.75 kB / 1.243 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.3031, allocations: 71.58 kB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3031, allocations: 0 / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3031, allocations: 0 / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3031, allocations: 0 / 1.243 GB, free: 9 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.0004471/0.3036, allocations: 385.2 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3036, allocations: 8.031 kB / 1.243 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.3037, allocations: 50.73 kB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.3037, allocations: 12.84 kB / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.3039, allocations: 192.2 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3039, allocations: 4.375 kB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.304, allocations: 8.375 kB / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3041, allocations: 89.67 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3041, allocations: 3.938 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3042, allocations: 7.984 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3042, allocations: 0 / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.18e-05/0.3042, allocations: 43.92 kB / 1.243 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.3048, allocations: 428.7 kB / 1.244 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.754e-05/0.3049, allocations: 41.28 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.3049, allocations: 17.84 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.3049, allocations: 4 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.305, allocations: 38.55 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.305, allocations: 0 / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001642/0.3051, allocations: 53.53 kB / 1.244 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3052, allocations: 81.36 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.3054, allocations: 164.6 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3054, allocations: 29.7 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.3055, allocations: 100.1 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-06/0.3055, allocations: 7.891 kB / 1.244 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.3055, allocations: 17.72 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3057, allocations: 322.8 kB / 1.245 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.3057, allocations: 4 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.3057, allocations: 25.66 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.499e-05/0.3058, allocations: 33.7 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3058, allocations: 0 / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.367e-05/0.3059, allocations: 61.55 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3059, allocations: 7.938 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3059, allocations: 4 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3059, allocations: 0 / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.65e-05/0.306, allocations: 12.05 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.306, allocations: 3.984 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.3061, allocations: 7.938 kB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.3061, allocations: 0 / 1.245 GB, free: 6.508 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 8.363e-05/0.3062, allocations: 114.4 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.3062, allocations: 11.89 kB / 1.245 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.3062, allocations: 19.8 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3062, allocations: 0 / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3063, allocations: 0 / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3063, allocations: 8 kB / 1.245 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.3067, allocations: 470.8 kB / 1.245 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3067, allocations: 4 kB / 1.245 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.3067, allocations: 3.984 kB / 1.245 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3067, allocations: 4 kB / 1.245 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.3068, allocations: 4 kB / 1.245 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3068, allocations: 0 / 1.245 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3068, allocations: 4.062 kB / 1.245 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.225e-05/0.3069, allocations: 77.88 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.3069, allocations: 85.06 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.307, allocations: 0 / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.307, allocations: 7.984 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.307, allocations: 7.938 kB / 1.246 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.307, allocations: 4.031 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001042/0.3071, allocations: 121.7 kB / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3071, allocations: 0 / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001977/0.3073, allocations: 8 kB / 1.246 GB, free: 5.457 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.0004271/0.3078, allocations: 0.6133 MB / 1.246 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.826e-05/0.3079, allocations: 19.94 kB / 1.246 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3079, allocations: 0 / 1.246 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.3079, allocations: 7.938 kB / 1.246 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.308, allocations: 11.94 kB / 1.246 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.3093, allocations: 1.339 MB / 1.248 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3097, allocations: 0.6963 MB / 1.248 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.3097, allocations: 4.438 kB / 1.248 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.3098, allocations: 27.42 kB / 1.248 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.3098, allocations: 0 / 1.248 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.3309, allocations: 1.565 MB / 1.25 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/7.964, allocations: 12.56 kB / 1.25 GB, free: 1.109 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches