Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.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.0015/0.0015, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001833/0.001833, allocations: 161.4 kB / 24.16 MB, free: 332 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.953/0.953, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.969/1.969, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.599e-05, allocations: 6.656 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005381/0.005407, allocations: 3.35 MB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00258/0.007987, allocations: 1.268 MB / 0.7645 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.008193, allocations: 15.88 kB / 0.7646 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.008733, allocations: 132.3 kB / 0.7647 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000514/0.009247, allocations: 240.6 kB / 0.7649 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.009758, allocations: 210.2 kB / 0.7651 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006861/0.01044, allocations: 0.6305 MB / 0.7657 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005644/0.01101, allocations: 353.8 kB / 0.7661 GB, free: 464 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.01143, allocations: 347.8 kB / 0.7664 GB, free: 116 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.01197, allocations: 232.1 kB / 0.7666 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.426e-05/0.01204, allocations: 40 kB / 0.7667 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.01231, allocations: 116.4 kB / 0.7668 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.01246, allocations: 159.5 kB / 0.7669 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.01263, allocations: 156.5 kB / 0.7671 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.01314, allocations: 398.7 kB / 0.7674 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01314, allocations: 1.375 kB / 0.7675 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.595e-06/0.01314, allocations: 7.984 kB / 0.7675 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.01315, allocations: 0 / 0.7675 GB, free: 15.03 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001091/0.01424, allocations: 0.6077 MB / 0.7681 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.01428, allocations: 10.47 kB / 0.7681 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009923/0.01527, allocations: 196.5 kB / 0.7682 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.01569, allocations: 262.7 kB / 0.7685 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.01572, allocations: 25.38 kB / 0.7685 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.428e-05/0.01578, allocations: 41.39 kB / 0.7686 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.01635, allocations: 489.8 kB / 0.769 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.01636, allocations: 192 / 0.769 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.0164, allocations: 21.3 kB / 0.7691 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/0.01645, allocations: 36.58 kB / 0.7691 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.0167, allocations: 111.9 kB / 0.7692 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.01842, allocations: 1.433 MB / 0.7706 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.01876, allocations: 173 kB / 0.7708 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.01884, allocations: 34.41 kB / 0.7708 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.01885, allocations: 5.844 kB / 0.7708 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.01888, allocations: 30.56 kB / 0.7708 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.01888, allocations: 0 / 0.7708 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0007302/0.01961, allocations: 272.5 kB / 0.7711 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002765/0.01989, allocations: 60.03 kB / 0.7711 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.0201, allocations: 248.9 kB / 0.7714 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.02013, allocations: 34.23 kB / 0.7714 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.02024, allocations: 224.6 kB / 0.7716 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.0203, allocations: 71.38 kB / 0.7717 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/0.02039, allocations: 58.28 kB / 0.7717 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.02049, allocations: 336.3 kB / 0.7721 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.02056, allocations: 27.98 kB / 0.7721 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.02068, allocations: 115.7 kB / 0.7722 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.02089, allocations: 172.6 kB / 0.7724 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.02089, allocations: 7.938 kB / 0.7724 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003917/0.02129, allocations: 219.6 kB / 0.7726 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.02131, allocations: 10.44 kB / 0.7726 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.02131, allocations: 4 kB / 0.7726 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/0.02164, allocations: 73.41 kB / 0.7727 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.02191, allocations: 75.89 kB / 0.7727 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.02362, allocations: 2.416 MB / 0.7751 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.02379, allocations: 27.78 kB / 0.7751 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.02381, allocations: 8 kB / 0.7751 GB, free: 6.672 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.02394, allocations: 128.6 kB / 0.7753 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.024, allocations: 23.97 kB / 0.7753 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/0.02406, allocations: 39.48 kB / 0.7753 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.02406, allocations: 7.938 kB / 0.7753 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.02407, allocations: 0 / 0.7753 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.02407, allocations: 0 / 0.7753 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.02436, allocations: 170.7 kB / 0.7755 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02436, allocations: 0 / 0.7755 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.02456, allocations: 40.69 kB / 0.7755 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/0.02481, allocations: 77.94 kB / 0.7756 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.02482, allocations: 4 kB / 0.7756 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.02633, allocations: 2.41 MB / 0.778 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02634, allocations: 3.938 kB / 0.778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.02701, allocations: 288.5 kB / 0.7782 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.092e-05/0.02709, allocations: 35.92 kB / 0.7783 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.02713, allocations: 7.984 kB / 0.7783 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.02728, allocations: 12.84 kB / 0.7783 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.02732, allocations: 17.28 kB / 0.7783 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.02733, allocations: 4 kB / 0.7783 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001027/0.02743, allocations: 86.75 kB / 0.7784 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.02743, allocations: 5.344 kB / 0.7784 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004655/0.0279, allocations: 107.7 kB / 0.7785 GB, free: 2.98 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001236/0.02802, allocations: 81.86 kB / 0.7786 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.0285, allocations: 366.9 kB / 0.7789 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.02851, allocations: 8.781 kB / 0.7789 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.02877, allocations: 287 kB / 0.7792 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.02917, allocations: 75.02 kB / 0.7793 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.03048, allocations: 0.6447 MB / 0.7799 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.03058, allocations: 120.6 kB / 0.78 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.03073, allocations: 37.83 kB / 0.7801 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.03093, allocations: 112.2 kB / 0.7802 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of SimCode: time 8.21e-07/0.03093, allocations: 4 kB / 0.7802 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of Templates: time 0.008436/0.03937, allocations: 4.096 MB / 0.7842 GB, free: 13.24 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_RCModel.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: 5.075529654044658]