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.001469/0.001469, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.00104/0.00104, allocations: 168.2 kB / 24.86 MB, free: 9.227 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.9736/0.9736, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.758/1.758, allocations: 359 MB / 0.6063 GB, free: 10.89 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.963e-06/1.963e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.453e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004052/0.004076, allocations: 2.564 MB / 0.7908 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.005748, allocations: 0.9877 MB / 0.7917 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.005886, allocations: 7.938 kB / 0.7918 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.006409, allocations: 87.52 kB / 0.7918 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.006712, allocations: 143.1 kB / 0.792 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.006959, allocations: 109.1 kB / 0.7921 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.007332, allocations: 322.8 kB / 0.7924 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.007682, allocations: 172.7 kB / 0.7926 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.007888, allocations: 184.2 kB / 0.7927 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.008177, allocations: 124.5 kB / 0.7928 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.008213, allocations: 16 kB / 0.7929 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.00839, allocations: 100.5 kB / 0.793 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.817e-05/0.008488, allocations: 87.8 kB / 0.793 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.008601, allocations: 85.58 kB / 0.7931 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.008941, allocations: 223.2 kB / 0.7933 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.008944, allocations: 0 / 0.7933 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.008945, allocations: 0 / 0.7933 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.008949, allocations: 0 / 0.7933 GB, free: 7.074 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.0006723/0.009621, allocations: 0.5404 MB / 0.7939 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.009657, allocations: 8.031 kB / 0.7939 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005444/0.0102, allocations: 114.5 kB / 0.794 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.01044, allocations: 180.6 kB / 0.7942 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.01046, allocations: 16.75 kB / 0.7942 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.01049, allocations: 24.31 kB / 0.7942 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.01079, allocations: 278.3 kB / 0.7945 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.0108, allocations: 4.188 kB / 0.7945 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.01082, allocations: 4.375 kB / 0.7945 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.01086, allocations: 28.23 kB / 0.7945 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.01099, allocations: 66.02 kB / 0.7946 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.01206, allocations: 1.238 MB / 0.7958 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.01222, allocations: 75.67 kB / 0.7958 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.01225, allocations: 12.38 kB / 0.7958 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.01225, allocations: 4 kB / 0.7959 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.01228, allocations: 49.94 kB / 0.7959 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.01228, allocations: 1 kB / 0.7959 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003189/0.0126, allocations: 102.8 kB / 0.796 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.01263, allocations: 55.41 kB / 0.7961 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.01278, allocations: 237.7 kB / 0.7963 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.01279, allocations: 25.7 kB / 0.7963 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.0129, allocations: 219.8 kB / 0.7965 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.01292, allocations: 31.77 kB / 0.7965 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.01298, allocations: 35.36 kB / 0.7966 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.01311, allocations: 0.4967 MB / 0.7971 GB, free: 3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.267e-05/0.01314, allocations: 20.83 kB / 0.7971 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.384e-05/0.01323, allocations: 107 kB / 0.7972 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.01336, allocations: 136 kB / 0.7973 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01336, allocations: 4 kB / 0.7973 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000244/0.0136, allocations: 159 kB / 0.7975 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01362, allocations: 6.188 kB / 0.7975 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.01362, allocations: 4 kB / 0.7975 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/0.01381, allocations: 32.16 kB / 0.7975 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.0139, allocations: 24.53 kB / 0.7975 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009333/0.01484, allocations: 1.727 MB / 0.7992 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.01493, allocations: 15.89 kB / 0.7992 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.01495, allocations: 8.641 kB / 0.7992 GB, free: 0.5664 MB / 0.7448 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 9.809e-05/0.01504, allocations: 165.9 kB / 0.7994 GB, free: 404 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.01508, allocations: 19.91 kB / 0.7994 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.01511, allocations: 16.88 kB / 0.7994 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01511, allocations: 0 / 0.7994 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01511, allocations: 7.938 kB / 0.7994 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01511, allocations: 0 / 0.7994 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.01549, allocations: 349.7 kB / 0.7998 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01549, allocations: 0 / 0.7998 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.01552, allocations: 7.938 kB / 0.7998 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001328/0.01565, allocations: 45 kB / 0.7998 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.01566, allocations: 0 / 0.7998 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008459/0.01651, allocations: 1.708 MB / 0.8015 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01651, allocations: 5.031 kB / 0.8015 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.01667, allocations: 247.4 kB / 0.8017 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.01672, allocations: 19.89 kB / 0.8018 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.01673, allocations: 1.344 kB / 0.8018 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.01682, allocations: 8 kB / 0.8018 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.01684, allocations: 7.984 kB / 0.8018 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01685, allocations: 1.875 kB / 0.8018 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.398e-05/0.01694, allocations: 161.5 kB / 0.8019 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01694, allocations: 0 / 0.8019 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003371/0.01727, allocations: 55.83 kB / 0.802 GB, free: 13.59 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 9.98e-05/0.01737, allocations: 103.7 kB / 0.8021 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.01765, allocations: 241.4 kB / 0.8023 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01765, allocations: 0 / 0.8023 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01776, allocations: 189.5 kB / 0.8025 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.01811, allocations: 34.5 kB / 0.8025 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/0.01889, allocations: 350.6 kB / 0.8029 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.01896, allocations: 87.95 kB / 0.8029 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.101e-05/0.01903, allocations: 13.48 kB / 0.803 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.01914, allocations: 102.2 kB / 0.8031 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of SimCode: time 6.72e-07/0.01914, allocations: 0 / 0.8031 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of Templates: time 0.00475/0.02389, allocations: 1.813 MB / 0.8048 GB, free: 10.63 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.865314605180174]