Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.004517/0.004517, allocations: 96.27 kB / 15.73 MB, free: 6.039 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.001284/0.001284, allocations: 203.4 kB / 16.68 MB, free: 5.969 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 76.03 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2885, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001979/0.2905, allocations: 0.8293 MB / 1.242 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/0.2906, allocations: 39.78 kB / 1.242 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.2907, allocations: 4 kB / 1.242 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.2907, allocations: 7.875 kB / 1.242 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.206e-05/0.2908, allocations: 7.875 kB / 1.242 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.009e-05/0.2909, allocations: 23.97 kB / 1.242 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.291, allocations: 63.78 kB / 1.242 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2911, allocations: 43.97 kB / 1.242 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.2912, allocations: 23.86 kB / 1.242 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.2912, allocations: 27.84 kB / 1.243 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.2913, allocations: 11.94 kB / 1.243 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.2913, allocations: 8 kB / 1.243 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.2913, allocations: 19.92 kB / 1.243 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.2914, allocations: 31.75 kB / 1.243 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.2915, allocations: 75.64 kB / 1.243 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2915, allocations: 0 / 1.243 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2915, allocations: 0 / 1.243 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2915, allocations: 0 / 1.243 GB, free: 9.008 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.0004437/0.292, allocations: 381 kB / 1.243 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.292, allocations: 8.031 kB / 1.243 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.2921, allocations: 46.73 kB / 1.243 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.2921, allocations: 12.84 kB / 1.243 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.2923, allocations: 196.2 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2923, allocations: 4.375 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.2924, allocations: 8.375 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2925, allocations: 97.44 kB / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2925, allocations: 3.938 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.2926, allocations: 0 / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.2926, allocations: 8 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.2927, allocations: 35.98 kB / 1.243 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.2932, allocations: 432.7 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/0.2933, allocations: 37.22 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.2933, allocations: 25.77 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.2933, allocations: 0 / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.2934, allocations: 38.59 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2934, allocations: 0 / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001608/0.2936, allocations: 53.53 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.2936, allocations: 77.36 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2938, allocations: 166.2 kB / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.2938, allocations: 25.7 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.2939, allocations: 100.1 kB / 1.244 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/0.2939, allocations: 11.95 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.2939, allocations: 13.72 kB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2941, allocations: 318.8 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.2941, allocations: 11.94 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.2941, allocations: 25.64 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.2942, allocations: 29.66 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2942, allocations: 4 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.613e-05/0.2943, allocations: 53.61 kB / 1.245 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2943, allocations: 11.92 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.2943, allocations: 0 / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2943, allocations: 4 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.2944, allocations: 12 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.2944, allocations: 0 / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.2945, allocations: 7.938 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.2945, allocations: 0 / 1.245 GB, free: 6.523 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.944e-05/0.2946, allocations: 114.4 kB / 1.245 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.2946, allocations: 11.89 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.2946, allocations: 19.81 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2946, allocations: 0 / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.2947, allocations: 0 / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2947, allocations: 8 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.2951, allocations: 478.7 kB / 1.245 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2951, allocations: 0 / 1.245 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.2952, allocations: 4 kB / 1.245 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2952, allocations: 0 / 1.245 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2952, allocations: 4.094 kB / 1.245 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2952, allocations: 0 / 1.245 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2952, allocations: 64 / 1.245 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.2953, allocations: 89.8 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.2954, allocations: 93.05 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.2954, allocations: 0 / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.2954, allocations: 0 / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.2954, allocations: 4 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.2954, allocations: 4.031 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001029/0.2955, allocations: 122.1 kB / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2955, allocations: 0 / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001929/0.2957, allocations: 8 kB / 1.246 GB, free: 5.469 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.0004263/0.2962, allocations: 0.6171 MB / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.2963, allocations: 16 kB / 1.246 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2963, allocations: 3.938 kB / 1.246 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.2963, allocations: 7.938 kB / 1.246 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.2964, allocations: 8 kB / 1.246 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2977, allocations: 1.338 MB / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.2981, allocations: 0.6924 MB / 1.248 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.2981, allocations: 4.438 kB / 1.248 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.2982, allocations: 27.42 kB / 1.248 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.2982, allocations: 0 / 1.248 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.3197, allocations: 1.576 MB / 1.25 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/7.887, allocations: 14.08 kB / 1.25 GB, free: 1.109 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches