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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 107.7 kB / 18.88 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 203.3 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001977/0.001977, allocations: 67.89 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7407/0.7426, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007694/0.7503, allocations: 5.054 MB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0047/0.755, allocations: 2.549 MB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004673/0.7555, allocations: 27.75 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.7569, allocations: 417.8 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.7581, allocations: 473.6 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.7592, allocations: 401.5 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.7605, allocations: 0.9251 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005587/0.7611, allocations: 266.3 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006301/0.7617, allocations: 346.6 kB / 1.284 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007094/0.7624, allocations: 370.4 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.7625, allocations: 36 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008647/0.7634, allocations: 411.1 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.7637, allocations: 195.3 kB / 1.285 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.7641, allocations: 326.2 kB / 1.285 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.7655, allocations: 0.8936 MB / 1.286 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7655, allocations: 0 / 1.286 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7655, allocations: 0 / 1.286 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.183e-05/0.7655, allocations: 0 / 1.286 GB, free: 7.891 MB / 0.9825 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.00189/0.7674, allocations: 0.9572 MB / 1.287 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.7675, allocations: 12.03 kB / 1.287 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.7689, allocations: 220.1 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.7699, allocations: 0.5495 MB / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.7699, allocations: 33.36 kB / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.77, allocations: 44.31 kB / 1.288 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.7713, allocations: 0.8448 MB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.7713, allocations: 7.938 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.7713, allocations: 23.98 kB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.7714, allocations: 64.95 kB / 1.289 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009443/0.7724, allocations: 0.5734 MB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00514/0.7775, allocations: 5.651 MB / 1.295 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.7782, allocations: 418.3 kB / 1.296 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.7785, allocations: 205.2 kB / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.7786, allocations: 7.938 kB / 1.296 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.7786, allocations: 34.56 kB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.7786, allocations: 0 / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002749/0.7814, allocations: 1.52 MB / 1.297 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.7814, allocations: 59.69 kB / 1.297 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.782, allocations: 0.5029 MB / 1.298 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.782, allocations: 29.7 kB / 1.298 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.7823, allocations: 367.7 kB / 1.298 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.7824, allocations: 131 kB / 1.298 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.7826, allocations: 106.2 kB / 1.298 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.7828, allocations: 366.8 kB / 1.299 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.7831, allocations: 193.2 kB / 1.299 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.7836, allocations: 451.3 kB / 1.299 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008969/0.7845, allocations: 0.688 MB / 1.3 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.7845, allocations: 8 kB / 1.3 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001386/0.7859, allocations: 0.8135 MB / 1.301 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.7859, allocations: 8 kB / 1.301 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.7859, allocations: 8 kB / 1.301 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004969/0.7864, allocations: 156.8 kB / 1.301 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.7869, allocations: 127.7 kB / 1.301 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/0.7907, allocations: 4.344 MB / 1.305 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.7911, allocations: 35.97 kB / 1.305 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.7911, allocations: 28 kB / 1.305 GB, free: 2.879 MB / 0.9981 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.0002764/0.7914, allocations: 219.2 kB / 1.306 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.7915, allocations: 63.62 kB / 1.306 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.7926, allocations: 0.6048 MB / 1.306 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.7926, allocations: 4 kB / 1.306 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.7926, allocations: 0 / 1.306 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7926, allocations: 0 / 1.306 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.7946, allocations: 1.261 MB / 1.308 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.7946, allocations: 4 kB / 1.308 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.7949, allocations: 55.89 kB / 1.308 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/0.7953, allocations: 144.3 kB / 1.308 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.7953, allocations: 15.88 kB / 1.308 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003669/0.799, allocations: 4.324 MB / 1.312 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.799, allocations: 7.969 kB / 1.312 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.8001, allocations: 0.7163 MB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.8003, allocations: 176.6 kB / 1.313 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.8004, allocations: 11.98 kB / 1.313 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.8007, allocations: 23.97 kB / 1.313 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.8008, allocations: 31.84 kB / 1.313 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.8008, allocations: 12 kB / 1.313 GB, free: 10.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004106/0.8012, allocations: 338.8 kB / 1.313 GB, free: 10.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.8012, allocations: 0 / 1.313 GB, free: 10.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000638/0.8018, allocations: 144 kB / 1.313 GB, free: 10.11 MB / 1.014 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.0001467/0.802, allocations: 116.1 kB / 1.313 GB, free: 9.988 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.8035, allocations: 1.009 MB / 1.314 GB, free: 8.898 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8035, allocations: 4.125 kB / 1.314 GB, free: 8.895 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.8044, allocations: 0.7185 MB / 1.315 GB, free: 8.094 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.8054, allocations: 198.5 kB / 1.315 GB, free: 7.906 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.8072, allocations: 1.071 MB / 1.316 GB, free: 6.785 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.8078, allocations: 0.9098 MB / 1.317 GB, free: 5.848 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003137/0.8081, allocations: 121.3 kB / 1.317 GB, free: 5.727 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.8082, allocations: 39.44 kB / 1.317 GB, free: 5.688 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.8082, allocations: 0 / 1.317 GB, free: 5.688 MB / 1.014 GB Notification: Performance of Templates: time 0.01575/0.8239, allocations: 7.955 MB / 1.325 GB, free: 13.83 MB / 1.029 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.593103822786361]