Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000939/0.000939, 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.001158/0.001158, allocations: 165 kB / 24.17 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 1.182/1.182, 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.963/1.963, allocations: 377.9 MB / 0.624 GB, free: 8.297 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.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_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_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.426e-05, allocations: 3.344 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003252/0.003277, allocations: 2.607 MB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.004687, allocations: 1.012 MB / 0.7636 GB, free: 3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.004792, allocations: 9.188 kB / 0.7636 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.005351, allocations: 91.45 kB / 0.7637 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.0056, allocations: 144.3 kB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.005801, allocations: 112.3 kB / 0.7639 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.006067, allocations: 312.2 kB / 0.7642 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.006304, allocations: 193.8 kB / 0.7644 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.006467, allocations: 167.7 kB / 0.7645 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.006719, allocations: 128.8 kB / 0.7647 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.006749, allocations: 23.94 kB / 0.7647 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.0069, allocations: 83.8 kB / 0.7648 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.937e-05/0.006979, allocations: 97.23 kB / 0.7649 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.007045, allocations: 79.83 kB / 0.7649 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.007303, allocations: 223.2 kB / 0.7652 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.007307, allocations: 0 / 0.7652 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.353e-06/0.007308, allocations: 0.75 kB / 0.7652 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.007313, allocations: 0 / 0.7652 GB, free: 1.375 MB / 0.7136 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.0004955/0.007808, allocations: 421.7 kB / 0.7656 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.00784, allocations: 8.031 kB / 0.7656 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004234/0.008263, allocations: 118.8 kB / 0.7657 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.008482, allocations: 179.5 kB / 0.7659 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.008498, allocations: 16.75 kB / 0.7659 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.00852, allocations: 17.19 kB / 0.7659 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.008772, allocations: 268.2 kB / 0.7661 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.008785, allocations: 6.875 kB / 0.7661 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.008803, allocations: 16.34 kB / 0.7662 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.008834, allocations: 20.31 kB / 0.7662 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.008922, allocations: 63.78 kB / 0.7662 GB, free: 192 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007747/0.009697, allocations: 0.8838 MB / 0.7671 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.009821, allocations: 61.36 kB / 0.7672 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.009844, allocations: 20.84 kB / 0.7672 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.00985, allocations: 0 / 0.7672 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.009874, allocations: 40.31 kB / 0.7672 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.009875, allocations: 0 / 0.7672 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002382/0.01011, allocations: 86.45 kB / 0.7673 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.01014, allocations: 58.66 kB / 0.7674 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.01024, allocations: 179.7 kB / 0.7675 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.01025, allocations: 25.7 kB / 0.7676 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.01032, allocations: 171.9 kB / 0.7677 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.01034, allocations: 27.78 kB / 0.7677 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.01038, allocations: 41.59 kB / 0.7678 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.01045, allocations: 326.8 kB / 0.7681 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.01047, allocations: 8 kB / 0.7681 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-05/0.01052, allocations: 78.12 kB / 0.7682 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.124e-05/0.0106, allocations: 107.6 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.01061, allocations: 4 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001514/0.01076, allocations: 128.1 kB / 0.7684 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.01077, allocations: 4 kB / 0.7684 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01078, allocations: 8.562 kB / 0.7684 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.01092, allocations: 34.86 kB / 0.7685 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.01099, allocations: 23.98 kB / 0.7685 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006289/0.01161, allocations: 1.2 MB / 0.7696 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.01168, allocations: 16.42 kB / 0.7697 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.01168, allocations: 4 kB / 0.7697 GB, free: 12.39 MB / 0.7292 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.434e-05/0.01176, allocations: 122.5 kB / 0.7698 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.01178, allocations: 15.98 kB / 0.7698 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.0118, allocations: 13.47 kB / 0.7698 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.0118, allocations: 0.8125 kB / 0.7698 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.0118, allocations: 3.984 kB / 0.7698 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01181, allocations: 5.062 kB / 0.7698 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.01204, allocations: 259.8 kB / 0.7701 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01204, allocations: 4 kB / 0.7701 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.01206, allocations: 6.438 kB / 0.7701 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-05/0.01215, allocations: 32.81 kB / 0.7701 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.01215, allocations: 6.406 kB / 0.7701 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006595/0.01281, allocations: 1.182 MB / 0.7713 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01281, allocations: 1.156 kB / 0.7713 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.01292, allocations: 183.1 kB / 0.7714 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.01295, allocations: 7.953 kB / 0.7715 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.01296, allocations: 10.84 kB / 0.7715 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.01301, allocations: 0 / 0.7715 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.01303, allocations: 11.98 kB / 0.7715 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.01303, allocations: 0 / 0.7715 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.01307, allocations: 44.81 kB / 0.7715 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01307, allocations: 0 / 0.7715 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001911/0.01326, allocations: 59.84 kB / 0.7716 GB, free: 10.28 MB / 0.7292 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 8.432e-05/0.01335, allocations: 80.17 kB / 0.7717 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.01356, allocations: 171.4 kB / 0.7718 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.01356, allocations: 4 kB / 0.7718 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.015e-05/0.01363, allocations: 147.9 kB / 0.772 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.01383, allocations: 35.45 kB / 0.772 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.01445, allocations: 365.2 kB / 0.7723 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.628e-05/0.01451, allocations: 91.83 kB / 0.7724 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.1e-05/0.01456, allocations: 11.77 kB / 0.7724 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.888e-05/0.01464, allocations: 80.3 kB / 0.7725 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/0.01464, allocations: 0 / 0.7725 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of Templates: time 0.003728/0.01837, allocations: 1.787 MB / 0.7743 GB, free: 7.551 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.115142270922661]