Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.From_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_9_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.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001329/0.001329, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.267/1.267, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 71.84 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.5011, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001616/0.5028, allocations: 0.8759 MB / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.242e-05/0.5029, allocations: 41.5 kB / 0.9499 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.5029, allocations: 5.094 kB / 0.95 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.503, allocations: 7.922 kB / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.691e-05/0.503, allocations: 5.094 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.355e-05/0.5031, allocations: 16.06 kB / 0.95 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.766e-05/0.5031, allocations: 50.19 kB / 0.95 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.5032, allocations: 43.38 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.5033, allocations: 23.42 kB / 0.9501 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.5033, allocations: 31.73 kB / 0.9501 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.5033, allocations: 5.156 kB / 0.9501 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.5034, allocations: 2.625 kB / 0.9501 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.5034, allocations: 14.58 kB / 0.9501 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.5034, allocations: 34.45 kB / 0.9502 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.784e-05/0.5035, allocations: 74.7 kB / 0.9502 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.5035, allocations: 0 / 0.9502 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.72e-07/0.5035, allocations: 0 / 0.9502 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.5035, allocations: 0 / 0.9502 GB, free: 8.207 MB / 0.7169 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.0002646/0.5038, allocations: 379.4 kB / 0.9506 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.5038, allocations: 9.469 kB / 0.9506 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.5038, allocations: 41.11 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.5039, allocations: 8.781 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.504, allocations: 195.4 kB / 0.9509 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.504, allocations: 10.75 kB / 0.9509 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.504, allocations: 6.031 kB / 0.9509 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.5041, allocations: 93.06 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5041, allocations: 3.938 kB / 0.951 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.5041, allocations: 5.047 kB / 0.951 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.5042, allocations: 1.969 kB / 0.951 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.5042, allocations: 40.55 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.5046, allocations: 435.8 kB / 0.9514 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.498e-05/0.5046, allocations: 41.38 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.5047, allocations: 27.98 kB / 0.9515 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-06/0.5047, allocations: 1.219 kB / 0.9515 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.5047, allocations: 31.69 kB / 0.9515 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5047, allocations: 0 / 0.9515 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001273/0.5048, allocations: 54.11 kB / 0.9516 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.5049, allocations: 82.52 kB / 0.9516 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.505, allocations: 168.4 kB / 0.9518 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.505, allocations: 27.14 kB / 0.9518 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.505, allocations: 111 kB / 0.9519 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.505, allocations: 10.06 kB / 0.9519 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.505, allocations: 17.64 kB / 0.952 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.235e-05/0.5051, allocations: 316.5 kB / 0.9523 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.5051, allocations: 6.75 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.539e-05/0.5051, allocations: 23.17 kB / 0.9523 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.5052, allocations: 26.16 kB / 0.9523 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5052, allocations: 0 / 0.9523 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.449e-05/0.5052, allocations: 59.34 kB / 0.9524 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5053, allocations: 10.19 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.5053, allocations: 1.438 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.5053, allocations: 1.125 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.06e-05/0.5053, allocations: 9.125 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5053, allocations: 1.656 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.5054, allocations: 1.406 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.5054, allocations: 1.031 kB / 0.9524 GB, free: 5.996 MB / 0.7169 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.121e-05/0.5054, allocations: 117.3 kB / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.5055, allocations: 12.03 kB / 0.9525 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.692e-05/0.5055, allocations: 14.73 kB / 0.9525 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.5055, allocations: 1.438 kB / 0.9525 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.5055, allocations: 0 / 0.9525 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.5055, allocations: 5.531 kB / 0.9525 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.5057, allocations: 474.1 kB / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5058, allocations: 3.938 kB / 0.953 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.5058, allocations: 7.094 kB / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5058, allocations: 1.344 kB / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.5058, allocations: 1.469 kB / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5058, allocations: 0 / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5058, allocations: 5.75 kB / 0.953 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.197e-05/0.5059, allocations: 77.92 kB / 0.9531 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.5059, allocations: 95.41 kB / 0.9532 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.5059, allocations: 1.281 kB / 0.9532 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.5059, allocations: 5.188 kB / 0.9532 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-06/0.5059, allocations: 1.281 kB / 0.9532 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.506, allocations: 5.562 kB / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.86e-05/0.506, allocations: 120 kB / 0.9533 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.506, allocations: 3.938 kB / 0.9533 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001744/0.5062, allocations: 6.75 kB / 0.9533 GB, free: 5.035 MB / 0.7169 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.0001782/0.5064, allocations: 0.6182 MB / 0.9539 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.846e-05/0.5064, allocations: 18.16 kB / 0.9539 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.5065, allocations: 0 / 0.9539 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.5065, allocations: 4.344 kB / 0.9539 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.5066, allocations: 8.266 kB / 0.954 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.5073, allocations: 1.354 MB / 0.9553 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.764e-05/0.5074, allocations: 0.695 MB / 0.956 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.5075, allocations: 8.922 kB / 0.956 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.5075, allocations: 22.03 kB / 0.956 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of SimCode: time 1.8e-07/0.5075, allocations: 1.562 kB / 0.956 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.189/1.697, allocations: 1.42 MB / 0.9574 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/1.697, allocations: 211 kB / 0.9576 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/3.473, allocations: 0 / 0.9576 GB, free: 1.434 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches