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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001639/0.001639, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00199/0.00199, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.667/1.667, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.358/4.358, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 71.94 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4053, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.003059/0.4084, allocations: 0.8979 MB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001478/0.4086, allocations: 43.78 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.4087, allocations: 4 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.933e-05/0.4088, allocations: 3.938 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.4089, allocations: 3.938 kB / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.081e-05/0.409, allocations: 15.98 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.4091, allocations: 63.84 kB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.4093, allocations: 47.95 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.4094, allocations: 31.8 kB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.4095, allocations: 23.86 kB / 1.054 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.4095, allocations: 8 kB / 1.054 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.4096, allocations: 8 kB / 1.054 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.4096, allocations: 19.92 kB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.4097, allocations: 31.75 kB / 1.054 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.4098, allocations: 71.98 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4098, allocations: 0 / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4098, allocations: 0 / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.4098, allocations: 3.984 kB / 1.054 GB, free: 7.391 MB / 0.8106 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.0005238/0.4104, allocations: 375.2 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/0.4105, allocations: 8.625 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.435e-05/0.4105, allocations: 46.73 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.4106, allocations: 8.844 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.4109, allocations: 192.2 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.4109, allocations: 8.281 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.4109, allocations: 16.31 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.4112, allocations: 87.89 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4112, allocations: 3.938 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.4112, allocations: 7.984 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.4113, allocations: 8 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.4114, allocations: 35.98 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007426/0.4121, allocations: 440.5 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.866e-05/0.4122, allocations: 37.22 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.4123, allocations: 17.78 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.4123, allocations: 0 / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.4124, allocations: 42.58 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.4124, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000246/0.4126, allocations: 53.7 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.4127, allocations: 85.14 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.413, allocations: 160.8 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.413, allocations: 25.7 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.4131, allocations: 108 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.4131, allocations: 3.906 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.4132, allocations: 17.72 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4133, allocations: 314.8 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.4134, allocations: 12 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.4134, allocations: 21.7 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.621e-05/0.4135, allocations: 29.66 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4135, allocations: 0 / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.4137, allocations: 49.61 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4137, allocations: 9.812 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.4137, allocations: 4.062 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4137, allocations: 4 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/0.4138, allocations: 15.92 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.4138, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.4139, allocations: 11.84 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4139, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 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 0.0001034/0.414, allocations: 113.8 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/0.4141, allocations: 11.84 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.4142, allocations: 15.8 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4142, allocations: 11.94 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4142, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.4142, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.4148, allocations: 470.8 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4148, allocations: 0 / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.4148, allocations: 4 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4149, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4149, allocations: 4 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4149, allocations: 4.062 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4149, allocations: 0 / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.415, allocations: 85.77 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.4151, allocations: 85.02 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4151, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.4152, allocations: 3.984 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.4152, allocations: 8.125 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.4152, allocations: 3.984 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001256/0.4154, allocations: 119.2 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4154, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003615/0.4157, allocations: 12 kB / 1.057 GB, free: 3.859 MB / 0.8106 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.0004528/0.4162, allocations: 0.6131 MB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.4163, allocations: 16 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4164, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-05/0.4164, allocations: 11.94 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.4167, allocations: 8 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.4183, allocations: 1.339 MB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4186, allocations: 0.6931 MB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.839e-05/0.4187, allocations: 8.422 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.4188, allocations: 23.44 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.4188, allocations: 0 / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.314/1.732, allocations: 1.466 MB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/1.733, allocations: 223 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/4.242, allocations: 7.875 kB / 1.061 GB, free: 15.38 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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