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.002252/0.002252, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002236/0.002236, allocations: 157.3 kB / 23.55 MB, free: 0.8633 MB / 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.821/2.821, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 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.462e-06/1.462e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.861e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00786/0.007889, allocations: 4.868 MB / 0.7911 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004864/0.01275, allocations: 2.526 MB / 0.7936 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.01306, allocations: 35.62 kB / 0.7936 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.01456, allocations: 409.8 kB / 0.794 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.01571, allocations: 494.4 kB / 0.7945 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009305/0.01664, allocations: 401.5 kB / 0.7949 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.01786, allocations: 0.9447 MB / 0.7958 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.01841, allocations: 334.8 kB / 0.7961 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007432/0.01915, allocations: 487.2 kB / 0.7966 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.01969, allocations: 316.1 kB / 0.7969 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.852e-05/0.01977, allocations: 36.66 kB / 0.7969 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006974/0.02046, allocations: 359 kB / 0.7973 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.02072, allocations: 199.8 kB / 0.7974 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.02101, allocations: 216.8 kB / 0.7977 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.02228, allocations: 0.9032 MB / 0.7985 GB, free: 332 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.02228, allocations: 0 / 0.7985 GB, free: 332 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.02228, allocations: 3.938 kB / 0.7985 GB, free: 328 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.02229, allocations: 1.156 kB / 0.7985 GB, free: 328 kB / 0.7448 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.001667/0.02396, allocations: 1.023 MB / 0.7995 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.024, allocations: 12.02 kB / 0.7996 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.0254, allocations: 289.6 kB / 0.7998 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.02641, allocations: 0.5075 MB / 0.8003 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.02645, allocations: 37.84 kB / 0.8004 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.02656, allocations: 56.31 kB / 0.8004 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.02809, allocations: 0.8967 MB / 0.8013 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.02812, allocations: 12.67 kB / 0.8013 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.02818, allocations: 20.38 kB / 0.8013 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.02829, allocations: 74.25 kB / 0.8014 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006778/0.02896, allocations: 339.8 kB / 0.8017 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006169/0.03513, allocations: 6.423 MB / 0.808 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.03565, allocations: 247.9 kB / 0.8082 GB, free: 5.895 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.03586, allocations: 97.28 kB / 0.8083 GB, free: 5.797 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.0359, allocations: 7.984 kB / 0.8083 GB, free: 5.789 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.03594, allocations: 41.39 kB / 0.8084 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.03594, allocations: 1.062 kB / 0.8084 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002164/0.03811, allocations: 0.7436 MB / 0.8091 GB, free: 4.969 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.03816, allocations: 56.78 kB / 0.8091 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000702/0.03886, allocations: 0.5883 MB / 0.8097 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.0389, allocations: 29.7 kB / 0.8097 GB, free: 4.262 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.03926, allocations: 436.3 kB / 0.8102 GB, free: 3.828 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.03939, allocations: 135 kB / 0.8103 GB, free: 3.695 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.0396, allocations: 123.8 kB / 0.8104 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003562/0.03995, allocations: 0.5556 MB / 0.811 GB, free: 3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.04018, allocations: 113.2 kB / 0.8111 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.04077, allocations: 474.8 kB / 0.8115 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009199/0.04169, allocations: 0.6329 MB / 0.8121 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.0417, allocations: 8 kB / 0.8121 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001324/0.04302, allocations: 0.6515 MB / 0.8128 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.04304, allocations: 12 kB / 0.8128 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.04306, allocations: 8.844 kB / 0.8128 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/0.0436, allocations: 142.3 kB / 0.8129 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.04408, allocations: 123.8 kB / 0.813 GB, free: 496 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/0.04901, allocations: 5.318 MB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.04944, allocations: 35.97 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.04949, allocations: 31.98 kB / 0.8183 GB, free: 10.73 MB / 0.7761 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.0002911/0.04978, allocations: 216.4 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.0499, allocations: 71.62 kB / 0.8186 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009664/0.05086, allocations: 409 kB / 0.819 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.05087, allocations: 8.062 kB / 0.819 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.05087, allocations: 3.938 kB / 0.819 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.05088, allocations: 0 / 0.819 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.05273, allocations: 1.001 MB / 0.82 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.05273, allocations: 4 kB / 0.82 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.05301, allocations: 55.88 kB / 0.82 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004696/0.05348, allocations: 130.6 kB / 0.8201 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.05351, allocations: 8 kB / 0.8202 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004758/0.05827, allocations: 5.315 MB / 0.8253 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.05827, allocations: 4 kB / 0.8253 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.0593, allocations: 0.5975 MB / 0.8259 GB, free: 2.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.05954, allocations: 87.52 kB / 0.826 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.05961, allocations: 12 kB / 0.826 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.05987, allocations: 23.97 kB / 0.826 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.05995, allocations: 43.75 kB / 0.8261 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.05998, allocations: 8 kB / 0.8261 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004493/0.06043, allocations: 366.8 kB / 0.8264 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.06043, allocations: 64 / 0.8264 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000668/0.06109, allocations: 144 kB / 0.8266 GB, free: 1.672 MB / 0.7761 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.0001743/0.06127, allocations: 111.2 kB / 0.8267 GB, free: 1.551 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.06271, allocations: 0.8823 MB / 0.8275 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.06271, allocations: 0 / 0.8275 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009491/0.06366, allocations: 0.6724 MB / 0.8282 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.06464, allocations: 198.8 kB / 0.8284 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.06653, allocations: 1.014 MB / 0.8294 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.06688, allocations: 303.9 kB / 0.8297 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.06717, allocations: 97.08 kB / 0.8298 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.06727, allocations: 40.5 kB / 0.8298 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of SimCode: time 5.2e-07/0.06727, allocations: 0 / 0.8298 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of Templates: time 0.01644/0.08371, allocations: 7.852 MB / 0.8375 GB, free: 6.508 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] 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.216168149956502]