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.00769/0.00769, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001267/0.001268, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.281/2.281, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.44 kB / 0.9504 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.305, allocations: 140.4 MB / 1.087 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002217/0.3073, allocations: 0.8254 MB / 1.088 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001559/0.3074, allocations: 47.78 kB / 1.088 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.3075, allocations: 4 kB / 1.088 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.699e-05/0.3076, allocations: 7.922 kB / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.846e-05/0.3077, allocations: 7.875 kB / 1.088 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.224e-05/0.3077, allocations: 15.98 kB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3079, allocations: 63.84 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.308, allocations: 51.88 kB / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.3081, allocations: 23.88 kB / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.3082, allocations: 27.84 kB / 1.089 GB, free: 1 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3082, allocations: 4 kB / 1.089 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3082, allocations: 12 kB / 1.089 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.3082, allocations: 15.94 kB / 1.089 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.3083, allocations: 35.67 kB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3084, allocations: 82.45 kB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3084, allocations: 0 / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3084, allocations: 0 / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3084, allocations: 0 / 1.089 GB, free: 0.8555 MB / 0.8419 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.0004656/0.3089, allocations: 380.1 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.309, allocations: 8.031 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.309, allocations: 38.75 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.309, allocations: 16.75 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.3093, allocations: 192.1 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3093, allocations: 8.375 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.3093, allocations: 12.38 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3095, allocations: 85.52 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3095, allocations: 3.938 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3095, allocations: 4 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3095, allocations: 4 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3096, allocations: 47.91 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.3102, allocations: 436.6 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.796e-05/0.3103, allocations: 37.25 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.3103, allocations: 21.78 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.3103, allocations: 0 / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3104, allocations: 34.56 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3104, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000184/0.3105, allocations: 57.47 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.3106, allocations: 81.36 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3108, allocations: 159.9 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3108, allocations: 25.7 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.3109, allocations: 104 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-06/0.3109, allocations: 7.906 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.3109, allocations: 17.72 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3111, allocations: 322.8 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.3111, allocations: 4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.3111, allocations: 25.66 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.3112, allocations: 21.72 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3112, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.144e-05/0.3113, allocations: 65.53 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3113, allocations: 7.938 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3113, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3113, allocations: 4 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.3114, allocations: 8.062 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3114, allocations: 11.92 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.3115, allocations: 11.84 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.3115, allocations: 0 / 1.091 GB, free: 14.37 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 9.126e-05/0.3116, allocations: 113.8 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.3116, allocations: 11.84 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.3116, allocations: 11.88 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3116, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3117, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3117, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.3121, allocations: 470.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3121, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.3121, allocations: 7.938 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3121, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3122, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3122, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3122, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.3123, allocations: 85.89 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.3123, allocations: 85.02 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3124, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.3124, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.3124, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3124, allocations: 3.984 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001089/0.3125, allocations: 125.7 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3125, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001908/0.3127, allocations: 8 kB / 1.092 GB, free: 13.34 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.0004379/0.3132, allocations: 0.6194 MB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.3133, allocations: 27.86 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3133, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.3133, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.3135, allocations: 11.91 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3149, allocations: 1.328 MB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3153, allocations: 0.6929 MB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.3153, allocations: 8.422 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.3154, allocations: 27.42 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of SimCode: time 5.82e-07/0.3154, allocations: 0 / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.3337, allocations: 1.599 MB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.288, allocations: 15.98 kB / 1.096 GB, free: 8.949 MB / 0.8575 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