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.001034/0.001034, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.184/2.184, allocations: 390.2 MB / 0.6647 GB, free: 368 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5447, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001771/0.5466, allocations: 0.8162 MB / 0.9505 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.476e-05/0.5467, allocations: 45.28 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.5467, allocations: 1.281 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.5467, allocations: 15.8 kB / 0.9506 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.5468, allocations: 5.406 kB / 0.9506 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.89e-05/0.5469, allocations: 18.73 kB / 0.9506 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.5469, allocations: 60.47 kB / 0.9507 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.5471, allocations: 48.45 kB / 0.9507 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.5471, allocations: 24.11 kB / 0.9507 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.5472, allocations: 31.92 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.5472, allocations: 6.875 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.5472, allocations: 5.5 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.5472, allocations: 14.67 kB / 0.9508 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.5472, allocations: 34.69 kB / 0.9508 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.502e-05/0.5473, allocations: 78.31 kB / 0.9509 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5473, allocations: 0 / 0.9509 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5473, allocations: 0 / 0.9509 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.5474, allocations: 5.312 kB / 0.9509 GB, free: 8.246 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.0002759/0.5476, allocations: 382.4 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.5477, allocations: 9.625 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.307e-05/0.5477, allocations: 40.11 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.5477, allocations: 10.34 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.5479, allocations: 189.8 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.5479, allocations: 8.281 kB / 0.9515 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.5479, allocations: 5.406 kB / 0.9515 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.548, allocations: 98.72 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.548, allocations: 3.938 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.548, allocations: 5.5 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5481, allocations: 1.688 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.22e-05/0.5481, allocations: 34.92 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.5485, allocations: 433.6 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.5485, allocations: 37.06 kB / 0.9521 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.5486, allocations: 32.08 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.5486, allocations: 0 / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.919e-06/0.5486, allocations: 31.84 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.5486, allocations: 1.25 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001341/0.5487, allocations: 54.05 kB / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.5488, allocations: 78.58 kB / 0.9523 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.5489, allocations: 166.8 kB / 0.9525 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.5489, allocations: 26.92 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.5489, allocations: 116.1 kB / 0.9526 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.5489, allocations: 8.969 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.549, allocations: 13.62 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.549, allocations: 324.2 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.549, allocations: 8.281 kB / 0.9529 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.549, allocations: 21.8 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/0.5491, allocations: 31.22 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5491, allocations: 0 / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.525e-05/0.5491, allocations: 54.64 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5492, allocations: 12.89 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.5492, allocations: 1.25 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5492, allocations: 1.125 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.5492, allocations: 5.688 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.5493, allocations: 4 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.5493, allocations: 2.594 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.5493, allocations: 1.438 kB / 0.9531 GB, free: 6.035 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.24e-05/0.5493, allocations: 113.6 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.5494, allocations: 12.03 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.5494, allocations: 18.58 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5494, allocations: 1.406 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5494, allocations: 0 / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.5494, allocations: 5.406 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.5497, allocations: 474.2 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5497, allocations: 0 / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.5497, allocations: 8.031 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5497, allocations: 0 / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.5497, allocations: 1.625 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5497, allocations: 0 / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5497, allocations: 1.781 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.293e-05/0.5498, allocations: 85.3 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.5498, allocations: 95.78 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.5498, allocations: 1.25 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.5499, allocations: 1.438 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.5499, allocations: 5.078 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.5499, allocations: 1.375 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.873e-05/0.5499, allocations: 127.9 kB / 0.954 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5499, allocations: 0 / 0.954 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001784/0.5501, allocations: 7.25 kB / 0.954 GB, free: 5.074 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.0001891/0.5503, allocations: 0.6193 MB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.633e-05/0.5504, allocations: 14.25 kB / 0.9546 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5504, allocations: 1.188 kB / 0.9546 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-06/0.5504, allocations: 7.812 kB / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.5506, allocations: 6.469 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/0.5513, allocations: 1.328 MB / 0.9559 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.594e-05/0.5514, allocations: 0.6936 MB / 0.9566 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.5514, allocations: 12.73 kB / 0.9566 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.5515, allocations: 23.62 kB / 0.9566 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5515, allocations: 0 / 0.9566 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9388/1.49, allocations: 1.543 MB / 0.9581 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/13.18, allocations: 8.188 kB / 0.9581 GB, free: 1.617 MB / 0.7169 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