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.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001183/0.001183, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 239.9 MB, free: 5.367 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.447/2.447, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 12 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8912/0.8916, allocations: 142.3 MB / 0.9535 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001065/0.8928, allocations: 0.5101 MB / 0.954 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/0.8929, allocations: 41.14 kB / 0.9541 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.893, allocations: 2.094 kB / 0.9541 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.893, allocations: 7.938 kB / 0.9541 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.539e-05/0.8931, allocations: 9.438 kB / 0.9541 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.93e-05/0.8931, allocations: 16.09 kB / 0.9541 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.676e-05/0.8932, allocations: 38.42 kB / 0.9541 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.8934, allocations: 27.2 kB / 0.9542 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.8934, allocations: 24.75 kB / 0.9542 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.8935, allocations: 16.41 kB / 0.9542 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.8935, allocations: 2.469 kB / 0.9542 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-06/0.8935, allocations: 1.438 kB / 0.9542 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.8936, allocations: 13.39 kB / 0.9542 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.8936, allocations: 37.8 kB / 0.9542 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.397e-05/0.8937, allocations: 49.91 kB / 0.9543 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.8937, allocations: 0 / 0.9543 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8937, allocations: 0 / 0.9543 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.8937, allocations: 1.531 kB / 0.9543 GB, free: 7.418 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.0003527/0.8941, allocations: 368.8 kB / 0.9546 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.8941, allocations: 9.031 kB / 0.9547 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.8941, allocations: 24.27 kB / 0.9547 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.8943, allocations: 185 kB / 0.9549 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.8943, allocations: 7.719 kB / 0.9549 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.8944, allocations: 13.19 kB / 0.9549 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.8945, allocations: 88.42 kB / 0.955 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8945, allocations: 0 / 0.955 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.8946, allocations: 5.406 kB / 0.955 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.8946, allocations: 2.406 kB / 0.955 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/0.8947, allocations: 43.06 kB / 0.955 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.8951, allocations: 442.1 kB / 0.9554 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.64e-05/0.8952, allocations: 40.19 kB / 0.9555 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.8952, allocations: 1.25 kB / 0.9555 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.8952, allocations: 31.53 kB / 0.9555 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.8952, allocations: 0 / 0.9555 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.8954, allocations: 59.53 kB / 0.9556 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.8955, allocations: 78.23 kB / 0.9556 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.8956, allocations: 166.1 kB / 0.9558 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.8956, allocations: 25.7 kB / 0.9558 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.8957, allocations: 101 kB / 0.9559 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.8957, allocations: 13.05 kB / 0.9559 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.8957, allocations: 4 kB / 0.9559 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.8958, allocations: 317.2 kB / 0.9562 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.8958, allocations: 11.69 kB / 0.9562 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.8958, allocations: 21.52 kB / 0.9563 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.8959, allocations: 8.875 kB / 0.9563 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8959, allocations: 1.312 kB / 0.9563 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.681e-05/0.8959, allocations: 54.11 kB / 0.9563 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.896, allocations: 9.391 kB / 0.9563 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.896, allocations: 0 / 0.9563 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.896, allocations: 5.5 kB / 0.9563 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.8961, allocations: 9.406 kB / 0.9563 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.8961, allocations: 0.8125 kB / 0.9563 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.8961, allocations: 2.812 kB / 0.9563 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.8961, allocations: 1.406 kB / 0.9563 GB, free: 5.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.72e-05/0.8962, allocations: 117.5 kB / 0.9565 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.8962, allocations: 7.906 kB / 0.9565 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.8963, allocations: 13.98 kB / 0.9565 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8963, allocations: 0.9375 kB / 0.9565 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.8963, allocations: 4.75 kB / 0.9565 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8963, allocations: 1 kB / 0.9565 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.8966, allocations: 470.3 kB / 0.9569 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8966, allocations: 0 / 0.9569 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.8966, allocations: 3.812 kB / 0.9569 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8966, allocations: 3.938 kB / 0.9569 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.8966, allocations: 1.5 kB / 0.9569 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8966, allocations: 5.125 kB / 0.9569 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8966, allocations: 0 / 0.9569 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.129e-05/0.8967, allocations: 96.97 kB / 0.957 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.8968, allocations: 88.12 kB / 0.9571 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.8968, allocations: 4 kB / 0.9571 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.8968, allocations: 0.7812 kB / 0.9571 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.8968, allocations: 13.55 kB / 0.9571 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.8968, allocations: 5.156 kB / 0.9571 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.418e-05/0.8969, allocations: 120.5 kB / 0.9573 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8969, allocations: 1 kB / 0.9573 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001906/0.8971, allocations: 10.59 kB / 0.9573 GB, free: 4.344 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000112/0.8972, allocations: 100.6 kB / 0.9574 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.148e-05/0.8973, allocations: 22.03 kB / 0.9574 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8973, allocations: 0 / 0.9574 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.8973, allocations: 11.73 kB / 0.9574 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.8975, allocations: 3.469 kB / 0.9574 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.8978, allocations: 177.2 kB / 0.9576 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.898, allocations: 0.6961 MB / 0.9583 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.898, allocations: 8.359 kB / 0.9583 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.898, allocations: 11.47 kB / 0.9583 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of SimCode: time 1.613e-06/0.898, allocations: 0 / 0.9583 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of Templates: time 0.002682/0.9007, allocations: 416.6 kB / 0.9587 GB, free: 3.121 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches