Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_11_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.001288/0.001288, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.579/2.579, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 65.64 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2451, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001836/0.247, allocations: 0.8292 MB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.642e-05/0.2471, allocations: 43.78 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.2471, allocations: 0 / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.2472, allocations: 7.922 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.2472, allocations: 11.88 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.2e-05/0.2473, allocations: 15.98 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.069e-05/0.2474, allocations: 59.84 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.2475, allocations: 47.91 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.2476, allocations: 27.86 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.2476, allocations: 27.86 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2476, allocations: 4 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.2477, allocations: 12 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.2477, allocations: 15.91 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.2477, allocations: 35.75 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.151e-05/0.2478, allocations: 71.98 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2478, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2478, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2478, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 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.0003783/0.2482, allocations: 367.3 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2483, allocations: 12.03 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.2483, allocations: 46.67 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.2483, allocations: 12.75 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.2485, allocations: 192.2 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2485, allocations: 8.375 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.2486, allocations: 8.312 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.2487, allocations: 97.28 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2487, allocations: 3.938 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2487, allocations: 11.98 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.2487, allocations: 4 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.617e-05/0.2488, allocations: 31.98 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.2493, allocations: 436.5 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.38e-05/0.2493, allocations: 37.16 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.2494, allocations: 25.92 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.2494, allocations: 3.938 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.2494, allocations: 34.56 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.2494, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001451/0.2496, allocations: 57.73 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2496, allocations: 81.11 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.2498, allocations: 166.2 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2498, allocations: 29.64 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.2499, allocations: 101.9 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.2499, allocations: 7.906 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.2499, allocations: 17.7 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.25, allocations: 318.8 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.25, allocations: 8 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.2501, allocations: 21.7 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/0.2501, allocations: 29.66 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2501, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.592e-05/0.2502, allocations: 53.59 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2502, allocations: 11.94 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2502, allocations: 8.047 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2503, allocations: 0 / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.2503, allocations: 7.938 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2503, allocations: 4 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.2504, allocations: 11.84 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.2504, allocations: 4 kB / 1.067 GB, free: 10.55 MB / 0.8262 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 6.829e-05/0.2504, allocations: 109.8 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.2505, allocations: 11.84 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.2505, allocations: 11.86 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2505, allocations: 7.938 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2505, allocations: 4 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.2505, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.2509, allocations: 474.8 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2509, allocations: 0 / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.2509, allocations: 4 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2509, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-06/0.2509, allocations: 4.062 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.251, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.251, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.13e-05/0.251, allocations: 85.77 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.2511, allocations: 89 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2511, allocations: 4 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.839e-05/0.2511, allocations: 0 / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.2512, allocations: 4.031 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-06/0.2512, allocations: 0 / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.39e-05/0.2513, allocations: 121.9 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2513, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001691/0.2514, allocations: 8 kB / 1.068 GB, free: 9.523 MB / 0.8262 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.0003507/0.2518, allocations: 0.6248 MB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.828e-05/0.2519, allocations: 19.94 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2519, allocations: 0 / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.2519, allocations: 11.94 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.252, allocations: 5.719 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2531, allocations: 1.319 MB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.2534, allocations: 0.7001 MB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.2534, allocations: 12.5 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.2534, allocations: 23.44 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2534, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.437/1.691, allocations: 1.532 MB / 1.072 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/10.14, allocations: 13.03 kB / 1.072 GB, free: 5.188 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches