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.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.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.007012/0.007012, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001646/0.001646, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.199/2.199, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.05 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6903, allocations: 140.4 MB / 1.087 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001679/0.692, allocations: 0.8267 MB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.843e-05/0.6922, allocations: 37.12 kB / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.6922, allocations: 0.8125 kB / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.6923, allocations: 10.77 kB / 1.088 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.6923, allocations: 17.17 kB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-05/0.6924, allocations: 16.95 kB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.952e-05/0.6925, allocations: 62.22 kB / 1.088 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.6926, allocations: 34.58 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.6927, allocations: 33.34 kB / 1.088 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.6927, allocations: 30.73 kB / 1.089 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.6928, allocations: 5.594 kB / 1.089 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.6928, allocations: 6.469 kB / 1.089 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.6928, allocations: 16.72 kB / 1.089 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.6928, allocations: 32.86 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.6929, allocations: 76.88 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6929, allocations: 0.6094 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6929, allocations: 0 / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.693, allocations: 1.312 kB / 1.089 GB, free: 4.555 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.0003218/0.6933, allocations: 382.4 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.6933, allocations: 8.938 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.6934, allocations: 38.75 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.6934, allocations: 18.03 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.6935, allocations: 193.3 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.6936, allocations: 3.156 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.6936, allocations: 13.47 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.6937, allocations: 93.14 kB / 1.089 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.6937, allocations: 3.938 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.6937, allocations: 5.094 kB / 1.089 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6937, allocations: 2.344 kB / 1.089 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.643e-05/0.6938, allocations: 42.84 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.6942, allocations: 434.6 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.6943, allocations: 49.52 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.6943, allocations: 25.09 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.6943, allocations: 1.125 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.6944, allocations: 36.31 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6944, allocations: 0 / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001506/0.6945, allocations: 64.34 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.6945, allocations: 78.5 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6947, allocations: 155.7 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.483e-06/0.6947, allocations: 29.7 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.6947, allocations: 104.2 kB / 1.09 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.206e-06/0.6947, allocations: 5.562 kB / 1.09 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.6948, allocations: 18.14 kB / 1.09 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.6948, allocations: 324.4 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.6949, allocations: 2.766 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.6949, allocations: 24.47 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.6949, allocations: 23.2 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6949, allocations: 0 / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.02e-05/0.695, allocations: 66.3 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.695, allocations: 9.062 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.695, allocations: 1.188 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6951, allocations: 0.6562 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.6951, allocations: 6.734 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6951, allocations: 1.062 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.6952, allocations: 6.672 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.6952, allocations: 1.125 kB / 1.091 GB, free: 2.426 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 4.966e-05/0.6952, allocations: 114.5 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.6953, allocations: 15.97 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.6953, allocations: 11.75 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.6953, allocations: 1.062 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6953, allocations: 2.047 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6953, allocations: 0.8125 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.6956, allocations: 466.3 kB / 1.091 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6956, allocations: 0.9688 kB / 1.091 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.6956, allocations: 8.266 kB / 1.091 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6956, allocations: 0.5156 kB / 1.091 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.6957, allocations: 1.281 kB / 1.091 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.6957, allocations: 8.391 kB / 1.091 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6957, allocations: 0.875 kB / 1.091 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.986e-05/0.6957, allocations: 80.42 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.6958, allocations: 91.53 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.6958, allocations: 5.859 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.051e-05/0.6958, allocations: 0 / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.6958, allocations: 6.031 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.6958, allocations: 0.9062 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.275e-05/0.6959, allocations: 121.5 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6959, allocations: 0 / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001967/0.6961, allocations: 6.781 kB / 1.092 GB, free: 1.512 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.000313/0.6964, allocations: 0.6232 MB / 1.092 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.6965, allocations: 20.17 kB / 1.092 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6965, allocations: 1.125 kB / 1.092 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.6966, allocations: 4.922 kB / 1.092 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.6967, allocations: 14.66 kB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.6978, allocations: 1.332 MB / 1.094 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.698, allocations: 0.6924 MB / 1.094 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.6981, allocations: 11.58 kB / 1.094 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.6981, allocations: 20.73 kB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.6981, allocations: 1.062 kB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.7132, allocations: 1.57 MB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.708, allocations: 13.97 kB / 1.096 GB, free: 14.54 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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