Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008386/0.0008386, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008995/0.0008995, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8953/0.8953, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.714/1.714, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.74e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001593/0.001631, allocations: 0.7984 MB / 0.9525 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001139/0.001744, allocations: 39.78 kB / 0.9526 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.001798, allocations: 0 / 0.9526 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.00184, allocations: 15.8 kB / 0.9526 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.149e-05/0.001922, allocations: 7.938 kB / 0.9526 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.515e-05/0.001967, allocations: 19.98 kB / 0.9526 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.002072, allocations: 55.84 kB / 0.9526 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.002207, allocations: 31.95 kB / 0.9527 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.673e-05/0.002284, allocations: 39.86 kB / 0.9527 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.002347, allocations: 23.89 kB / 0.9527 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.002372, allocations: 4 kB / 0.9527 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-06/0.002379, allocations: 8 kB / 0.9527 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.002399, allocations: 15.94 kB / 0.9528 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.002435, allocations: 19.91 kB / 0.9528 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.002555, allocations: 79.62 kB / 0.9529 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.00256, allocations: 4 kB / 0.9529 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.653e-06/0.002561, allocations: 0 / 0.9529 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.002568, allocations: 0 / 0.9529 GB, free: 1.816 MB / 0.9011 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.0004964/0.003065, allocations: 305.9 kB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.003115, allocations: 12.03 kB / 0.9532 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.003162, allocations: 16.84 kB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.003371, allocations: 129.6 kB / 0.9533 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.003386, allocations: 12.31 kB / 0.9533 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.003403, allocations: 8.359 kB / 0.9533 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.003562, allocations: 94.14 kB / 0.9534 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.003574, allocations: 192 / 0.9534 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.003586, allocations: 4.312 kB / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.003594, allocations: 4.375 kB / 0.9534 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.003666, allocations: 43.86 kB / 0.9535 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.004161, allocations: 356.5 kB / 0.9538 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.004234, allocations: 41.25 kB / 0.9538 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.004272, allocations: 17.78 kB / 0.9539 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.00428, allocations: 0 / 0.9539 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.004308, allocations: 34.56 kB / 0.9539 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.00431, allocations: 0 / 0.9539 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.004493, allocations: 49.62 kB / 0.9539 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.004545, allocations: 77.36 kB / 0.954 GB, free: 488 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.004661, allocations: 144.1 kB / 0.9542 GB, free: 336 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.004675, allocations: 25.7 kB / 0.9542 GB, free: 304 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.004745, allocations: 108 kB / 0.9543 GB, free: 192 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/0.004754, allocations: 7.953 kB / 0.9543 GB, free: 184 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.004786, allocations: 21.67 kB / 0.9543 GB, free: 156 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.004904, allocations: 318.8 kB / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.004923, allocations: 4 kB / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.004947, allocations: 21.66 kB / 0.9546 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.004991, allocations: 25.72 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.004993, allocations: 4 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.225e-05/0.005066, allocations: 57.62 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.005084, allocations: 4 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.00509, allocations: 0 / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.005112, allocations: 0 / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.005185, allocations: 8 kB / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.005193, allocations: 3.938 kB / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.005209, allocations: 0 / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.005215, allocations: 4 kB / 0.9547 GB, free: 15.68 MB / 0.9167 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 7.939e-05/0.005294, allocations: 121.9 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.005314, allocations: 3.953 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.005342, allocations: 7.469 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.005345, allocations: 3.938 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.005351, allocations: 0 / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.005357, allocations: 7.938 kB / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.005658, allocations: 410.4 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.005661, allocations: 7.938 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.005676, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.00568, allocations: 4 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.005689, allocations: 8 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.00569, allocations: 3.938 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.005692, allocations: 0 / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.165e-05/0.005763, allocations: 82.02 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.005784, allocations: 7.953 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.005798, allocations: 3.938 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-06/0.005807, allocations: 3.984 kB / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.005824, allocations: 4 kB / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.005828, allocations: 4 kB / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.00588, allocations: 99.27 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00588, allocations: 4.031 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001235/0.006004, allocations: 8 kB / 0.9555 GB, free: 14.82 MB / 0.9167 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.0001282/0.006132, allocations: 99.19 kB / 0.9556 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.333e-05/0.006225, allocations: 15.98 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.006228, allocations: 0 / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.006236, allocations: 7.938 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.006375, allocations: 10.23 kB / 0.9556 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.006714, allocations: 192.5 kB / 0.9558 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.452e-05/0.006778, allocations: 79.31 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.00681, allocations: 12.5 kB / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/0.006811, allocations: 0 / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of Templates: time 0.001976/0.008787, allocations: 0.798 MB / 0.9567 GB, free: 13.55 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.349254603497684]