Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.To_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_9_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.008296/0.008296, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.002609/0.002609, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7974, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001816/0.7993, allocations: 0.8283 MB / 1.088 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.728e-05/0.7994, allocations: 41.09 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.7995, allocations: 1.156 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.7995, allocations: 9.797 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.7996, allocations: 10.23 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.235e-05/0.7996, allocations: 19.98 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.7997, allocations: 63.84 kB / 1.088 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.7999, allocations: 41.42 kB / 1.088 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.17e-05/0.7999, allocations: 27.03 kB / 1.088 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.8, allocations: 34.16 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.8, allocations: 6.188 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.8, allocations: 5.688 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.8001, allocations: 16.8 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.8001, allocations: 32.42 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.8002, allocations: 82.41 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8002, allocations: 0 / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8002, allocations: 0 / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.8002, allocations: 0 / 1.089 GB, free: 4.512 MB / 0.8575 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.0003228/0.8006, allocations: 380.4 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.8006, allocations: 10.22 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.8006, allocations: 43.09 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.8007, allocations: 13.75 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.8008, allocations: 192.5 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.8008, allocations: 8.266 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.8009, allocations: 8.688 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.801, allocations: 90.67 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.801, allocations: 7.938 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.801, allocations: 5 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.801, allocations: 2.219 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.8011, allocations: 44.45 kB / 1.089 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.8015, allocations: 434.1 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/0.8016, allocations: 49.12 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.8016, allocations: 20.53 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.8016, allocations: 1.594 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.8016, allocations: 32.11 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8016, allocations: 0 / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001713/0.8018, allocations: 60.59 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.8019, allocations: 78.83 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.802, allocations: 161.8 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.802, allocations: 25.7 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.8021, allocations: 104.1 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.816e-06/0.8021, allocations: 9.844 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.8021, allocations: 15.12 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.8022, allocations: 319.2 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.8022, allocations: 11.5 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.8022, allocations: 19.92 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/0.8023, allocations: 27.14 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8023, allocations: 1.125 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.333e-05/0.8023, allocations: 57.61 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8024, allocations: 12.88 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8024, allocations: 1.375 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8024, allocations: 2.266 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.8024, allocations: 5.562 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8025, allocations: 0.7031 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.8025, allocations: 7.094 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.8025, allocations: 1.281 kB / 1.091 GB, free: 2.391 MB / 0.8575 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 5.002e-05/0.8026, allocations: 113 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.8026, allocations: 13.28 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.8026, allocations: 16.14 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8026, allocations: 1.219 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8026, allocations: 0.6875 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8027, allocations: 1.328 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.8029, allocations: 474.2 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.803, allocations: 0.7812 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.803, allocations: 3.734 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.803, allocations: 4.875 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.803, allocations: 1.578 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.803, allocations: 8.688 kB / 1.091 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.803, allocations: 0.8125 kB / 1.091 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.302e-05/0.8031, allocations: 76.45 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.8031, allocations: 94.75 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.8031, allocations: 10.09 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.8032, allocations: 4.031 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.8032, allocations: 2.047 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.8032, allocations: 1.312 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.739e-05/0.8033, allocations: 119.5 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8033, allocations: 0 / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001855/0.8035, allocations: 7.406 kB / 1.092 GB, free: 1.465 MB / 0.8575 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.0003536/0.8038, allocations: 0.6187 MB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.389e-05/0.8039, allocations: 19.69 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8039, allocations: 0 / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.8039, allocations: 5.141 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.8041, allocations: 12.17 kB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.8052, allocations: 1.33 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.8055, allocations: 0.693 MB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.8056, allocations: 6.375 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.8056, allocations: 29.69 kB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8056, allocations: 0 / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3207/1.126, allocations: 1.585 MB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/9.061, allocations: 10.92 kB / 1.096 GB, free: 14.5 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches