Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.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.0009413/0.0009413, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009085/0.0009085, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9284/0.9284, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.78/1.78, allocations: 359 MB / 0.6055 GB, free: 11.02 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.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7871 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.522e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003638/0.003653, allocations: 3.176 MB / 0.7902 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.005299, allocations: 1.369 MB / 0.7915 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.005431, allocations: 4 kB / 0.7915 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.006052, allocations: 345.7 kB / 0.7918 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.006339, allocations: 151 kB / 0.792 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.006627, allocations: 139.5 kB / 0.7921 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.006914, allocations: 315.9 kB / 0.7924 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/0.007203, allocations: 172.7 kB / 0.7926 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.007359, allocations: 179.5 kB / 0.7928 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.007584, allocations: 132.2 kB / 0.7929 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.007608, allocations: 17.19 kB / 0.7929 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.007806, allocations: 151.6 kB / 0.793 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.007878, allocations: 87.73 kB / 0.7931 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.007949, allocations: 85.5 kB / 0.7932 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.008236, allocations: 255.1 kB / 0.7934 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.00824, allocations: 7.984 kB / 0.7935 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.008241, allocations: 0 / 0.7935 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.008244, allocations: 1.531 kB / 0.7935 GB, free: 6.32 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005398/0.008784, allocations: 0.5427 MB / 0.794 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.008818, allocations: 10.25 kB / 0.794 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.009209, allocations: 124.6 kB / 0.7941 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.009397, allocations: 192.8 kB / 0.7943 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.009409, allocations: 13.47 kB / 0.7943 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.009429, allocations: 20.31 kB / 0.7943 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.009694, allocations: 294.9 kB / 0.7946 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.009701, allocations: 192 / 0.7946 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.009719, allocations: 13.95 kB / 0.7946 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.009749, allocations: 24.23 kB / 0.7947 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.009874, allocations: 84.77 kB / 0.7947 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.01068, allocations: 1.242 MB / 0.7959 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.01081, allocations: 67.81 kB / 0.796 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.01084, allocations: 23.67 kB / 0.796 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.01084, allocations: 1.375 kB / 0.796 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.01086, allocations: 45.27 kB / 0.7961 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.01086, allocations: 4 kB / 0.7961 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002495/0.01111, allocations: 110.6 kB / 0.7962 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003006/0.01142, allocations: 60.14 kB / 0.7962 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.01155, allocations: 233.8 kB / 0.7965 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.01156, allocations: 26.3 kB / 0.7965 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.01165, allocations: 218.6 kB / 0.7967 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.01166, allocations: 28.62 kB / 0.7967 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.01171, allocations: 43.33 kB / 0.7968 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.01181, allocations: 0.4981 MB / 0.7973 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.01184, allocations: 19.98 kB / 0.7973 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.01191, allocations: 118.9 kB / 0.7974 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.01201, allocations: 143.8 kB / 0.7975 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.01201, allocations: 0 / 0.7975 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001638/0.01217, allocations: 162.8 kB / 0.7977 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01219, allocations: 8.531 kB / 0.7977 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01219, allocations: 0 / 0.7977 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/0.01234, allocations: 37.91 kB / 0.7977 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.0124, allocations: 27.98 kB / 0.7978 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006906/0.01309, allocations: 1.738 MB / 0.7994 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.01315, allocations: 15.89 kB / 0.7995 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.01316, allocations: 11.69 kB / 0.7995 GB, free: 15.69 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.01323, allocations: 160.6 kB / 0.7996 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.01326, allocations: 15.91 kB / 0.7996 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.629e-05/0.01327, allocations: 25.48 kB / 0.7997 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01328, allocations: 3.938 kB / 0.7997 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01328, allocations: 0 / 0.7997 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.01328, allocations: 64 / 0.7997 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.01357, allocations: 408.9 kB / 0.8001 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01357, allocations: 1.281 kB / 0.8001 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/0.01359, allocations: 11.98 kB / 0.8001 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.01371, allocations: 37.75 kB / 0.8001 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01372, allocations: 0 / 0.8001 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005982/0.01432, allocations: 1.727 MB / 0.8018 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.01432, allocations: 0 / 0.8018 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.01446, allocations: 241.2 kB / 0.802 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.01449, allocations: 19.89 kB / 0.802 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-06/0.01449, allocations: 0 / 0.802 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/0.01455, allocations: 11.94 kB / 0.8021 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.01457, allocations: 7.984 kB / 0.8021 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.01457, allocations: 0.625 kB / 0.8021 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 6.971e-05/0.01464, allocations: 170.2 kB / 0.8022 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01464, allocations: 0 / 0.8022 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002036/0.01484, allocations: 52.42 kB / 0.8023 GB, free: 12.62 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.635e-05/0.01491, allocations: 107.1 kB / 0.8024 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.01514, allocations: 241.4 kB / 0.8026 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01514, allocations: 0 / 0.8026 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.687e-05/0.01523, allocations: 201.5 kB / 0.8028 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01545, allocations: 35.58 kB / 0.8028 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.01609, allocations: 351.1 kB / 0.8032 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.01615, allocations: 87.97 kB / 0.8033 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.461e-05/0.0162, allocations: 25.45 kB / 0.8033 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.01623, allocations: 16.5 kB / 0.8033 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of SimCode: time 8.12e-07/0.01623, allocations: 0 / 0.8033 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of Templates: time 0.003088/0.01932, allocations: 1.662 MB / 0.8049 GB, free: 9.871 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.79982748394832]