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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.009726/0.009726, allocations: 100.4 kB / 15.87 MB, free: 5.867 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.002176/0.002176, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.442/1.442, allocations: 222.9 MB / 240.5 MB, free: 4.535 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.401/2.401, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6383/0.6397, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002053/0.6418, allocations: 0.8767 MB / 0.9504 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001051/0.6419, allocations: 45.38 kB / 0.9505 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.642, allocations: 1.688 kB / 0.9505 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.642, allocations: 7.922 kB / 0.9505 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.6421, allocations: 3.938 kB / 0.9505 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.201e-05/0.6421, allocations: 11.44 kB / 0.9505 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.859e-05/0.6422, allocations: 59.22 kB / 0.9506 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.6424, allocations: 47.17 kB / 0.9506 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.6424, allocations: 27.23 kB / 0.9506 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.6425, allocations: 28.42 kB / 0.9507 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.6425, allocations: 4.219 kB / 0.9507 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.6425, allocations: 4.281 kB / 0.9507 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.6426, allocations: 13.2 kB / 0.9507 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.6426, allocations: 34.61 kB / 0.9507 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.194e-05/0.6427, allocations: 60.7 kB / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6427, allocations: 0 / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6427, allocations: 0 / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.6427, allocations: 0 / 0.9508 GB, free: 8.172 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.0003708/0.6431, allocations: 374.5 kB / 0.9511 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6432, allocations: 9.625 kB / 0.9511 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.6432, allocations: 8.969 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.6434, allocations: 195.1 kB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.6434, allocations: 11.12 kB / 0.9513 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.6434, allocations: 5.875 kB / 0.9514 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.6435, allocations: 90.73 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.6436, allocations: 1.562 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.6436, allocations: 3.938 kB / 0.9514 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6436, allocations: 2.75 kB / 0.9514 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.6437, allocations: 39.17 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.6441, allocations: 441.9 kB / 0.9519 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.59e-05/0.6442, allocations: 40.03 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.6442, allocations: 20.59 kB / 0.952 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.6442, allocations: 4 kB / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.6442, allocations: 31.94 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.6443, allocations: 0 / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001741/0.6444, allocations: 59.22 kB / 0.9521 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.6445, allocations: 78.48 kB / 0.9521 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.6446, allocations: 167.4 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.6446, allocations: 25.95 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.6447, allocations: 112 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.6447, allocations: 5.281 kB / 0.9524 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.6447, allocations: 17.84 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.6448, allocations: 320.2 kB / 0.9527 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.6448, allocations: 8.062 kB / 0.9528 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.858e-05/0.6448, allocations: 17.84 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.74e-05/0.6449, allocations: 31.34 kB / 0.9528 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6449, allocations: 0 / 0.9528 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.242e-05/0.6449, allocations: 58.72 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.645, allocations: 5.406 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.645, allocations: 7.875 kB / 0.9529 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.645, allocations: 1.094 kB / 0.9529 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.077e-05/0.6451, allocations: 5.594 kB / 0.9529 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6451, allocations: 5.297 kB / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.6451, allocations: 5.531 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.6451, allocations: 6.766 kB / 0.9529 GB, free: 6.008 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 5.044e-05/0.6452, allocations: 117 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.6452, allocations: 8.188 kB / 0.953 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.6452, allocations: 14.62 kB / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6452, allocations: 0 / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6452, allocations: 1.25 kB / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.6453, allocations: 0 / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.6455, allocations: 482.5 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6455, allocations: 5.453 kB / 0.9535 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.6456, allocations: 2.969 kB / 0.9535 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.6456, allocations: 3.984 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.6456, allocations: 1.312 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6456, allocations: 1.344 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6456, allocations: 0 / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.66e-05/0.6456, allocations: 78.5 kB / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.6457, allocations: 96.12 kB / 0.9537 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.6457, allocations: 1.531 kB / 0.9537 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.6457, allocations: 0 / 0.9537 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.6457, allocations: 5.344 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.6458, allocations: 1.375 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.782e-05/0.6458, allocations: 120.2 kB / 0.9538 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6458, allocations: 4.031 kB / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001959/0.646, allocations: 7.125 kB / 0.9538 GB, free: 5.055 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 9.846e-05/0.6461, allocations: 101.4 kB / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.206e-05/0.6462, allocations: 14.09 kB / 0.9539 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6462, allocations: 3.938 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.6462, allocations: 11.88 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.6464, allocations: 11.91 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.6467, allocations: 203.9 kB / 0.9541 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.6468, allocations: 0.6964 MB / 0.9548 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.6468, allocations: 10.41 kB / 0.9548 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6468, allocations: 0 / 0.9548 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.002307/0.6492, allocations: 0.8554 MB / 0.9557 GB, free: 3.582 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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