Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001232/0.001232, 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.0009794/0.0009794, 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 1.039/1.039, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.953/1.953, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.796e-05, allocations: 2.906 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.0107/0.01072, allocations: 3.852 MB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0024/0.01312, allocations: 1.44 MB / 0.7652 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.01336, allocations: 39.56 kB / 0.7653 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003527/0.01689, allocations: 163.5 kB / 0.7654 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005861/0.01748, allocations: 353.1 kB / 0.7657 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.01801, allocations: 347 kB / 0.7661 GB, free: 456 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009176/0.01893, allocations: 0.9557 MB / 0.767 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.01936, allocations: 346.3 kB / 0.7673 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00051/0.01987, allocations: 498.6 kB / 0.7678 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.02019, allocations: 319 kB / 0.7681 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.02023, allocations: 36 kB / 0.7682 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.02065, allocations: 114.9 kB / 0.7683 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.02077, allocations: 187.4 kB / 0.7684 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.0209, allocations: 215.4 kB / 0.7686 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.02128, allocations: 0.502 MB / 0.7691 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.02128, allocations: 3.938 kB / 0.7691 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.142e-06/0.02128, allocations: 0 / 0.7691 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.02129, allocations: 4 kB / 0.7691 GB, free: 13.29 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0007041/0.022, allocations: 0.8151 MB / 0.7699 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.02203, allocations: 12.03 kB / 0.77 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005429/0.02257, allocations: 200.5 kB / 0.7701 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.02304, allocations: 490.8 kB / 0.7706 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.02306, allocations: 30.5 kB / 0.7706 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.02311, allocations: 52.3 kB / 0.7707 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.02357, allocations: 0.7194 MB / 0.7714 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.02359, allocations: 9.031 kB / 0.7714 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.02362, allocations: 24.36 kB / 0.7714 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.939e-05/0.02368, allocations: 69.48 kB / 0.7715 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.02389, allocations: 235.4 kB / 0.7717 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.02592, allocations: 4.17 MB / 0.7758 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.02616, allocations: 277.2 kB / 0.7761 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.02623, allocations: 60.83 kB / 0.7761 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.02625, allocations: 4.656 kB / 0.7761 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.02627, allocations: 38.56 kB / 0.7762 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.362e-06/0.02627, allocations: 3.344 kB / 0.7762 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0008351/0.02711, allocations: 0.5007 MB / 0.7766 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.02713, allocations: 55.69 kB / 0.7767 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.02737, allocations: 450.9 kB / 0.7771 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.02739, allocations: 33.7 kB / 0.7772 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.0275, allocations: 333.1 kB / 0.7775 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.02756, allocations: 122.9 kB / 0.7776 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.02765, allocations: 110.2 kB / 0.7777 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.02773, allocations: 370.6 kB / 0.7781 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.02779, allocations: 57.92 kB / 0.7781 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.02796, allocations: 316.1 kB / 0.7784 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.02827, allocations: 447.4 kB / 0.7788 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.02827, allocations: 4.719 kB / 0.7788 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004623/0.02873, allocations: 485.7 kB / 0.7793 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.02875, allocations: 13.59 kB / 0.7793 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.02876, allocations: 8 kB / 0.7793 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.02899, allocations: 124.5 kB / 0.7794 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.02921, allocations: 112.8 kB / 0.7795 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.03092, allocations: 3.599 MB / 0.7831 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.03106, allocations: 20 kB / 0.7831 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.03108, allocations: 24 kB / 0.7831 GB, free: 14 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.0312, allocations: 154.9 kB / 0.7833 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.03125, allocations: 47.89 kB / 0.7833 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.03157, allocations: 317.8 kB / 0.7836 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.03158, allocations: 5.656 kB / 0.7836 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.03158, allocations: 7.984 kB / 0.7836 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.03158, allocations: 0 / 0.7836 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.0322, allocations: 0.6791 MB / 0.7843 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.0322, allocations: 1 kB / 0.7843 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.03231, allocations: 51.89 kB / 0.7843 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.03251, allocations: 124.7 kB / 0.7844 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.03252, allocations: 4.5 kB / 0.7845 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.03392, allocations: 3.6 MB / 0.788 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.03393, allocations: 7.938 kB / 0.788 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.03428, allocations: 472.6 kB / 0.7884 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.03436, allocations: 67.64 kB / 0.7885 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.03439, allocations: 8 kB / 0.7885 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.03449, allocations: 8 kB / 0.7885 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.03453, allocations: 44.36 kB / 0.7885 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.03455, allocations: 5.062 kB / 0.7886 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001074/0.03465, allocations: 192.4 kB / 0.7887 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.03465, allocations: 3.938 kB / 0.7887 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004524/0.0351, allocations: 142.4 kB / 0.7889 GB, free: 7.637 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.226e-05/0.0352, allocations: 93.83 kB / 0.789 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000496/0.03569, allocations: 0.6181 MB / 0.7896 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.0357, allocations: 8.5 kB / 0.7896 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.03599, allocations: 479.1 kB / 0.79 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.03643, allocations: 200 kB / 0.7902 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.03748, allocations: 0.9766 MB / 0.7912 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.221e-05/0.03756, allocations: 150 kB / 0.7913 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.0377, allocations: 70.5 kB / 0.7914 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.03793, allocations: 181.2 kB / 0.7916 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of SimCode: time 6.42e-07/0.03793, allocations: 0.8438 kB / 0.7916 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of Templates: time 0.009547/0.04748, allocations: 8.401 MB / 0.7998 GB, free: 12.58 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.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.186181026045233]