Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001772/0.001772, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002243/0.002243, allocations: 159.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.704/2.704, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] 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.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_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.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.041e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007319/0.00735, allocations: 4.616 MB / 0.9555 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004735/0.01208, allocations: 2.416 MB / 0.9578 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.01252, allocations: 39.62 kB / 0.9579 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.01389, allocations: 405.8 kB / 0.9583 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.01519, allocations: 481.2 kB / 0.9587 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.01625, allocations: 410.3 kB / 0.9591 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.01772, allocations: 0.9486 MB / 0.96 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005913/0.01831, allocations: 318.4 kB / 0.9603 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000877/0.01919, allocations: 0.4908 MB / 0.9608 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.01974, allocations: 307.1 kB / 0.9611 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/0.01983, allocations: 40 kB / 0.9611 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007054/0.02053, allocations: 374.9 kB / 0.9615 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.02076, allocations: 187.3 kB / 0.9617 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.02106, allocations: 211.4 kB / 0.9619 GB, free: 344 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.02223, allocations: 0.9033 MB / 0.9628 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.02224, allocations: 0 / 0.9628 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.296e-06/0.02224, allocations: 3.984 kB / 0.9628 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.02225, allocations: 0 / 0.9628 GB, free: 15.43 MB / 0.8731 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.001502/0.02376, allocations: 0.8934 MB / 0.9636 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.02379, allocations: 11.97 kB / 0.9637 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.02512, allocations: 216.2 kB / 0.9639 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008772/0.026, allocations: 488 kB / 0.9643 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.02604, allocations: 33.38 kB / 0.9644 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-05/0.02612, allocations: 52.25 kB / 0.9644 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.02742, allocations: 0.9703 MB / 0.9654 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.02745, allocations: 12.12 kB / 0.9654 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/0.0275, allocations: 24.36 kB / 0.9654 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.02761, allocations: 64.89 kB / 0.9655 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009086/0.02852, allocations: 0.5656 MB / 0.966 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004572/0.03309, allocations: 4.619 MB / 0.9705 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.03378, allocations: 426.2 kB / 0.9709 GB, free: 6.672 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.0341, allocations: 204.7 kB / 0.9711 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.03413, allocations: 4 kB / 0.9711 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.03416, allocations: 30.56 kB / 0.9712 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.495e-06/0.03416, allocations: 0 / 0.9712 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002584/0.03674, allocations: 1.138 MB / 0.9723 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.03679, allocations: 51.69 kB / 0.9723 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.03733, allocations: 482.7 kB / 0.9728 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.03737, allocations: 33.7 kB / 0.9728 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.03764, allocations: 368.3 kB / 0.9732 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.03775, allocations: 122.9 kB / 0.9733 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.03792, allocations: 110.2 kB / 0.9734 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.03811, allocations: 366.7 kB / 0.9737 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.03843, allocations: 197.2 kB / 0.9739 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.039, allocations: 444.9 kB / 0.9743 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.03994, allocations: 0.6874 MB / 0.975 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.03994, allocations: 8 kB / 0.975 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001392/0.04134, allocations: 0.8063 MB / 0.9758 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.04136, allocations: 8 kB / 0.9758 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.04137, allocations: 12.09 kB / 0.9758 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005193/0.04189, allocations: 156.1 kB / 0.976 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.04236, allocations: 123.8 kB / 0.9761 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.04611, allocations: 3.965 MB / 0.98 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.0465, allocations: 36.06 kB / 0.98 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.04654, allocations: 28 kB / 0.98 GB, free: 12.69 MB / 0.8887 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.0002847/0.04683, allocations: 213.6 kB / 0.9802 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.04693, allocations: 63.66 kB / 0.9803 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.04806, allocations: 0.5925 MB / 0.9809 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.04807, allocations: 7.984 kB / 0.9809 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.04807, allocations: 11.88 kB / 0.9809 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.04808, allocations: 0 / 0.9809 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.04993, allocations: 1.118 MB / 0.982 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.04993, allocations: 0 / 0.982 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.05022, allocations: 59.89 kB / 0.982 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.05068, allocations: 140.4 kB / 0.9822 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.05071, allocations: 12 kB / 0.9822 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.0544, allocations: 3.941 MB / 0.986 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.05441, allocations: 4.031 kB / 0.986 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.0555, allocations: 0.7084 MB / 0.9867 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.05569, allocations: 87.84 kB / 0.9868 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.05575, allocations: 15.98 kB / 0.9868 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.05602, allocations: 23.97 kB / 0.9868 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.0561, allocations: 31.89 kB / 0.9869 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.05612, allocations: 8 kB / 0.9869 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003491/0.05647, allocations: 310.9 kB / 0.9872 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6e-08/0.05647, allocations: 3.938 kB / 0.9872 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000632/0.0571, allocations: 140 kB / 0.9873 GB, free: 4.734 MB / 0.8887 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.000165/0.05726, allocations: 111.5 kB / 0.9874 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.0587, allocations: 0.8553 MB / 0.9883 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.0587, allocations: 0 / 0.9883 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008382/0.05954, allocations: 0.5763 MB / 0.9888 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009877/0.06053, allocations: 192 kB / 0.989 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.06234, allocations: 1.048 MB / 0.99 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.06268, allocations: 307.9 kB / 0.9903 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003023/0.06298, allocations: 117.1 kB / 0.9904 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.06309, allocations: 36.5 kB / 0.9905 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of SimCode: time 6.71e-07/0.06309, allocations: 0 / 0.9905 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of Templates: time 0.01572/0.07881, allocations: 7.776 MB / 0.9981 GB, free: 9.801 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.032908849418163]