Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 91.06 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.01057/0.01057, allocations: 172.8 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 443.3 MB / 0.7175 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004245, allocations: 14.72 kB / 0.8796 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3985, allocations: 155.2 MB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001924/0.4005, allocations: 0.5498 MB / 1.032 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000189/0.4007, allocations: 39.78 kB / 1.032 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.4008, allocations: 4 kB / 1.032 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/0.4008, allocations: 7.922 kB / 1.032 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.401, allocations: 3.938 kB / 1.032 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.148e-05/0.401, allocations: 15.98 kB / 1.032 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.4012, allocations: 59.78 kB / 1.032 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.4014, allocations: 39.97 kB / 1.032 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.984e-05/0.4015, allocations: 19.88 kB / 1.032 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.833e-05/0.4016, allocations: 23.8 kB / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.4016, allocations: 0 / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.4017, allocations: 4 kB / 1.032 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.4017, allocations: 11.92 kB / 1.032 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.4018, allocations: 53.5 kB / 1.032 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.4019, allocations: 67.92 kB / 1.032 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.402, allocations: 0 / 1.032 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.797e-06/0.402, allocations: 0 / 1.032 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.402, allocations: 0 / 1.032 GB, free: 3.414 MB / 0.7794 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.000575/0.4026, allocations: 363.2 kB / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.4026, allocations: 12.03 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.4027, allocations: 12.84 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.403, allocations: 200.1 kB / 1.033 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.403, allocations: 4.375 kB / 1.033 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.403, allocations: 8.375 kB / 1.033 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.4032, allocations: 93.67 kB / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4032, allocations: 192 / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.4033, allocations: 3.938 kB / 1.033 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4033, allocations: 4 kB / 1.033 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.434e-05/0.4034, allocations: 43.92 kB / 1.033 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.404, allocations: 432.5 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.435e-05/0.4041, allocations: 41.34 kB / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.4042, allocations: 21.72 kB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.4042, allocations: 0 / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4042, allocations: 38.56 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4042, allocations: 0 / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002154/0.4045, allocations: 57.47 kB / 1.033 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.4045, allocations: 81.36 kB / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.4047, allocations: 165.1 kB / 1.033 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4047, allocations: 25.7 kB / 1.034 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.4048, allocations: 104 kB / 1.034 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.4048, allocations: 3.906 kB / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.4049, allocations: 17.66 kB / 1.034 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.405, allocations: 322.8 kB / 1.034 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.405, allocations: 0 / 1.034 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.4051, allocations: 25.72 kB / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.4051, allocations: 25.66 kB / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4051, allocations: 0 / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.946e-05/0.4052, allocations: 61.53 kB / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4052, allocations: 8 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4053, allocations: 3.938 kB / 1.034 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4053, allocations: 4.062 kB / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.4054, allocations: 4 kB / 1.034 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4054, allocations: 4 kB / 1.034 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.4054, allocations: 7.844 kB / 1.034 GB, free: 1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.4054, allocations: 4 kB / 1.034 GB, free: 0.9961 MB / 0.7794 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.611e-05/0.4055, allocations: 119.3 kB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.4056, allocations: 7.906 kB / 1.034 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.4056, allocations: 15.81 kB / 1.034 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4056, allocations: 3.938 kB / 1.034 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4056, allocations: 8 kB / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4056, allocations: 0 / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.406, allocations: 463.3 kB / 1.035 GB, free: 328 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.406, allocations: 3.938 kB / 1.035 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.4061, allocations: 7.984 kB / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4061, allocations: 0 / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4061, allocations: 0 / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4061, allocations: 3.938 kB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4061, allocations: 4.062 kB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.071e-05/0.4062, allocations: 81.84 kB / 1.035 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.4063, allocations: 85 kB / 1.035 GB, free: 100 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.4063, allocations: 4 kB / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.4063, allocations: 4 kB / 1.035 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.4063, allocations: 4.031 kB / 1.035 GB, free: 88 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.4063, allocations: 3.938 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001219/0.4065, allocations: 124.9 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4065, allocations: 0 / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001795/0.4067, allocations: 11.91 kB / 1.035 GB, free: 15.95 MB / 0.795 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.0001465/0.4068, allocations: 99.33 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.632e-05/0.4069, allocations: 16 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4069, allocations: 128 / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.4069, allocations: 11.94 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.4071, allocations: 11.94 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.4074, allocations: 180.7 kB / 1.035 GB, free: 15.58 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4077, allocations: 0.6926 MB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.4078, allocations: 8.422 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.4078, allocations: 11.44 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of SimCode: time 6.61e-07/0.4078, allocations: 3.938 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of Templates: time 0.002636/0.4105, allocations: 420.6 kB / 1.036 GB, free: 14.43 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches