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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008289/0.0008289, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005241/0.005241, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.209/1.209, 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 9.1.2-maint.9.1.x/package.mo): time 2.131/2.131, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5182, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.0007149/0.519, allocations: 0.5336 MB / 0.9557 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.713e-05/0.5191, allocations: 36.47 kB / 0.9557 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.5191, allocations: 6.938 kB / 0.9557 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.5191, allocations: 11.86 kB / 0.9557 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.5192, allocations: 3.938 kB / 0.9558 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.28e-05/0.5192, allocations: 15.61 kB / 0.9558 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.5193, allocations: 58.81 kB / 0.9558 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.5194, allocations: 42.08 kB / 0.9559 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.5195, allocations: 13.5 kB / 0.9559 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.838e-05/0.5195, allocations: 25.39 kB / 0.9559 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.5195, allocations: 1.469 kB / 0.9559 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-06/0.5195, allocations: 1.5 kB / 0.9559 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.5196, allocations: 9.281 kB / 0.9559 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.5196, allocations: 51.09 kB / 0.956 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.755e-05/0.5197, allocations: 70.69 kB / 0.956 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5197, allocations: 0.9688 kB / 0.956 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5197, allocations: 4 kB / 0.956 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.5197, allocations: 0 / 0.956 GB, free: 6.992 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.0002414/0.5199, allocations: 361.5 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.52, allocations: 9.438 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.52, allocations: 45.7 kB / 0.9564 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.52, allocations: 12.81 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.5202, allocations: 190.4 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.5202, allocations: 7.406 kB / 0.9566 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.5202, allocations: 14.16 kB / 0.9566 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.5203, allocations: 93.09 kB / 0.9567 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.5203, allocations: 3.938 kB / 0.9567 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.5204, allocations: 8.984 kB / 0.9567 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5204, allocations: 2.438 kB / 0.9567 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.251e-05/0.5204, allocations: 35.42 kB / 0.9568 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.5208, allocations: 442 kB / 0.9572 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.416e-05/0.5208, allocations: 37.16 kB / 0.9572 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.5209, allocations: 23.77 kB / 0.9573 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.5209, allocations: 4.969 kB / 0.9573 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.728e-06/0.5209, allocations: 35.66 kB / 0.9573 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.5209, allocations: 0 / 0.9573 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001325/0.521, allocations: 59.33 kB / 0.9574 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/0.521, allocations: 77.11 kB / 0.9574 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.5211, allocations: 160.8 kB / 0.9576 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.5212, allocations: 31.27 kB / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.5212, allocations: 108.3 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.5212, allocations: 8.844 kB / 0.9577 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.5212, allocations: 10.84 kB / 0.9577 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.5213, allocations: 321.1 kB / 0.958 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.5213, allocations: 7.281 kB / 0.958 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.5213, allocations: 17.95 kB / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.5213, allocations: 34.94 kB / 0.9581 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5214, allocations: 0 / 0.9581 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.375e-05/0.5214, allocations: 50.86 kB / 0.9581 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.5214, allocations: 13.45 kB / 0.9582 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5214, allocations: 1.219 kB / 0.9582 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.5215, allocations: 3.938 kB / 0.9582 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.5215, allocations: 5.531 kB / 0.9582 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.5215, allocations: 1.156 kB / 0.9582 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.5216, allocations: 10.19 kB / 0.9582 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.5216, allocations: 5.406 kB / 0.9582 GB, free: 4.777 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.031e-05/0.5216, allocations: 113.3 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.5216, allocations: 12.41 kB / 0.9583 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.704e-05/0.5217, allocations: 10.02 kB / 0.9583 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.5217, allocations: 1.031 kB / 0.9583 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5217, allocations: 1.188 kB / 0.9583 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5217, allocations: 0.9688 kB / 0.9583 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.5219, allocations: 474 kB / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5219, allocations: 0 / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/0.522, allocations: 3.5 kB / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.522, allocations: 1.062 kB / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-06/0.522, allocations: 1.188 kB / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.522, allocations: 0 / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.522, allocations: 1.125 kB / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.272e-05/0.522, allocations: 85.98 kB / 0.9589 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.5221, allocations: 91.92 kB / 0.9589 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.5221, allocations: 6.047 kB / 0.959 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.843e-05/0.5221, allocations: 0 / 0.959 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.5221, allocations: 1.031 kB / 0.959 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.5221, allocations: 6.031 kB / 0.959 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.5222, allocations: 118.7 kB / 0.9591 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.61e-07/0.5222, allocations: 9.062 kB / 0.9591 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001748/0.5224, allocations: 14.59 kB / 0.9591 GB, free: 3.824 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.0001732/0.5226, allocations: 0.6117 MB / 0.9597 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.134e-05/0.5226, allocations: 17.88 kB / 0.9597 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5226, allocations: 1.281 kB / 0.9597 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.5226, allocations: 11.69 kB / 0.9597 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.5228, allocations: 4.406 kB / 0.9597 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.5235, allocations: 1.345 MB / 0.961 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.503e-05/0.5236, allocations: 0.6912 MB / 0.9617 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.5236, allocations: 12.02 kB / 0.9617 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.5237, allocations: 27.75 kB / 0.9618 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5237, allocations: 0 / 0.9618 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.467/1.991, allocations: 1.35 MB / 0.9631 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.991, allocations: 215.2 kB / 0.9633 GB, free: 316 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/3.919, allocations: 0 / 0.9633 GB, free: 316 kB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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