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.001295/0.001295, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001052/0.001052, allocations: 161 kB / 24.16 MB, free: 336 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.9659/0.9659, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.818/1.818, allocations: 377.9 MB / 0.624 GB, free: 8.332 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.673e-06/1.673e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.505e-05, allocations: 8.969 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00833/0.008355, allocations: 3.805 MB / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005991/0.01435, allocations: 1.443 MB / 0.7651 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00353/0.01788, allocations: 35.62 kB / 0.7652 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007089/0.01859, allocations: 167.9 kB / 0.7653 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007806/0.01937, allocations: 361.2 kB / 0.7657 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.02003, allocations: 334.6 kB / 0.766 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004147/0.02418, allocations: 0.9646 MB / 0.7669 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005252/0.0247, allocations: 339.2 kB / 0.7673 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007208/0.02542, allocations: 499.4 kB / 0.7677 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.02593, allocations: 321.3 kB / 0.768 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.02599, allocations: 43.94 kB / 0.7681 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.02622, allocations: 99.86 kB / 0.7682 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.02639, allocations: 195.3 kB / 0.7684 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.003332/0.02972, allocations: 208.4 kB / 0.7686 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006872/0.03041, allocations: 0.5098 MB / 0.7691 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.03042, allocations: 1 kB / 0.7691 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.674e-06/0.03042, allocations: 0 / 0.7691 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.03043, allocations: 0 / 0.7691 GB, free: 13.38 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.0009467/0.03137, allocations: 0.8172 MB / 0.7699 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.03142, allocations: 15.06 kB / 0.7699 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007114/0.03213, allocations: 192.5 kB / 0.7701 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.03412, allocations: 494.9 kB / 0.7705 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.03417, allocations: 29.38 kB / 0.7706 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.03429, allocations: 48.36 kB / 0.7706 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008963/0.03518, allocations: 0.7334 MB / 0.7713 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.03522, allocations: 8.125 kB / 0.7713 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.03527, allocations: 24.36 kB / 0.7713 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.03539, allocations: 68.89 kB / 0.7714 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.03584, allocations: 226.7 kB / 0.7716 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.03924, allocations: 4.172 MB / 0.7757 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.03965, allocations: 284.3 kB / 0.776 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.03978, allocations: 60.84 kB / 0.776 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.03981, allocations: 6.031 kB / 0.776 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.03984, allocations: 30.56 kB / 0.7761 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 2.655e-06/0.03984, allocations: 4 kB / 0.7761 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.001552/0.04139, allocations: 0.503 MB / 0.7766 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.04143, allocations: 55.69 kB / 0.7766 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.04186, allocations: 454.9 kB / 0.7771 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.0419, allocations: 33.7 kB / 0.7771 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.04211, allocations: 321.2 kB / 0.7774 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.04222, allocations: 130.9 kB / 0.7775 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.04236, allocations: 102.2 kB / 0.7776 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.0425, allocations: 370.6 kB / 0.778 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.04262, allocations: 61.91 kB / 0.778 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.04289, allocations: 315.3 kB / 0.7783 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.04339, allocations: 444 kB / 0.7787 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.04339, allocations: 4.969 kB / 0.7788 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008597/0.04425, allocations: 485.5 kB / 0.7792 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.04428, allocations: 9.219 kB / 0.7792 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.04429, allocations: 8 kB / 0.7792 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/0.04471, allocations: 125.6 kB / 0.7794 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.04507, allocations: 115.8 kB / 0.7795 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.04777, allocations: 3.591 MB / 0.783 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.04817, allocations: 23.94 kB / 0.783 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.04822, allocations: 24.59 kB / 0.783 GB, free: 14.1 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.000219/0.04844, allocations: 162.5 kB / 0.7832 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/0.04853, allocations: 47.94 kB / 0.7832 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.0491, allocations: 311.1 kB / 0.7835 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.04911, allocations: 4 kB / 0.7835 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.04911, allocations: 0 / 0.7835 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.04912, allocations: 3.938 kB / 0.7835 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.05032, allocations: 0.688 MB / 0.7842 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.05032, allocations: 0 / 0.7842 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.05046, allocations: 39.97 kB / 0.7842 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.05068, allocations: 125.6 kB / 0.7844 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.0507, allocations: 4 kB / 0.7844 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.05228, allocations: 3.59 MB / 0.7879 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.05228, allocations: 1 kB / 0.7879 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.0527, allocations: 476.1 kB / 0.7883 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.05284, allocations: 71.62 kB / 0.7884 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.05287, allocations: 12 kB / 0.7884 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.05298, allocations: 9.062 kB / 0.7884 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.05303, allocations: 39.86 kB / 0.7884 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.05304, allocations: 8 kB / 0.7884 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001232/0.05316, allocations: 193.6 kB / 0.7886 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.05316, allocations: 0 / 0.7886 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004109/0.05357, allocations: 144 kB / 0.7888 GB, free: 7.742 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 0.000109/0.05368, allocations: 87.39 kB / 0.7889 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006004/0.05428, allocations: 0.6187 MB / 0.7895 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.0543, allocations: 8.5 kB / 0.7895 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.05461, allocations: 481.8 kB / 0.7899 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.0551, allocations: 192.1 kB / 0.7901 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.05621, allocations: 0.9756 MB / 0.7911 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.551e-05/0.0563, allocations: 151.8 kB / 0.7912 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001632/0.05647, allocations: 70.62 kB / 0.7913 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.0567, allocations: 181.2 kB / 0.7914 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.0567, allocations: 0 / 0.7914 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of Templates: time 0.01043/0.06712, allocations: 8.405 MB / 0.7997 GB, free: 12.69 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 -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.189021134749055]