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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.000901/0.0009011, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.005349/0.005349, allocations: 169.9 kB / 16.27 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 462.7 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 12.27 kB / 0.9029 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2489, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.0009341/0.2499, allocations: 0.5453 MB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.672e-05/0.25, allocations: 39.78 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.25, allocations: 0 / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.2501, allocations: 3.938 kB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.2501, allocations: 11.92 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.749e-05/0.2502, allocations: 16 kB / 1.059 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.807e-05/0.2503, allocations: 51.84 kB / 1.059 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2504, allocations: 43.97 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.2505, allocations: 15.86 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.947e-05/0.2505, allocations: 19.86 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.2505, allocations: 7.938 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-06/0.2505, allocations: 0 / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.2506, allocations: 11.94 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.2506, allocations: 53.45 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.2e-05/0.2507, allocations: 67.95 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2507, allocations: 8 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2507, allocations: 0 / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2507, allocations: 0 / 1.06 GB, free: 3.996 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.0003754/0.2511, allocations: 359.3 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2511, allocations: 15.97 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.2512, allocations: 34.75 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.2512, allocations: 12.84 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.2514, allocations: 196.1 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2514, allocations: 8.375 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.2514, allocations: 4.375 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.2516, allocations: 91.89 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2516, allocations: 7.875 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2516, allocations: 11.98 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2516, allocations: 0 / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.345e-05/0.2517, allocations: 43.91 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.2522, allocations: 436.5 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/0.2523, allocations: 41.28 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.2523, allocations: 21.84 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.2523, allocations: 0 / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2523, allocations: 30.56 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.2524, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001624/0.2525, allocations: 61.69 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.2526, allocations: 81.14 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2527, allocations: 167.6 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.2527, allocations: 25.7 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.2528, allocations: 103.9 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.744e-06/0.2528, allocations: 4 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.2528, allocations: 13.72 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.2529, allocations: 322.8 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.253, allocations: 4 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.253, allocations: 21.72 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.253, allocations: 21.72 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.253, allocations: 4 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.997e-05/0.2531, allocations: 61.53 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2531, allocations: 9.344 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2531, allocations: 0 / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2532, allocations: 8.062 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.2532, allocations: 4 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2532, allocations: 3.984 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.2533, allocations: 11.84 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.2533, allocations: 0 / 1.062 GB, free: 1.527 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 8.082e-05/0.2534, allocations: 113.8 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.2534, allocations: 11.84 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.2534, allocations: 11.88 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2535, allocations: 0 / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2535, allocations: 11.88 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2535, allocations: 0 / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.2538, allocations: 466.8 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2538, allocations: 4 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.2539, allocations: 11.94 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2539, allocations: 0 / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2539, allocations: 7.938 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2539, allocations: 4.062 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2539, allocations: 0 / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.187e-05/0.254, allocations: 77.83 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.2541, allocations: 88.92 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2541, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.2541, allocations: 4 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.2541, allocations: 8.031 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2541, allocations: 3.984 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.694e-05/0.2542, allocations: 122 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2542, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000183/0.2544, allocations: 8 kB / 1.063 GB, free: 492 kB / 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.0003852/0.2548, allocations: 0.6132 MB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.2549, allocations: 23.92 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2549, allocations: 0 / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.2549, allocations: 4 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.2551, allocations: 11.94 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2561, allocations: 1.339 MB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.2563, allocations: 0.7004 MB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.2564, allocations: 4.438 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.2564, allocations: 23.42 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2564, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009644/0.2661, allocations: 1.356 MB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.2663, allocations: 215 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/1.845, allocations: 0 / 1.067 GB, free: 12.12 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