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.001641/0.001641, allocations: 104.3 kB / 19.7 MB, free: 2.148 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.001787/0.001787, allocations: 214.6 kB / 22.99 MB, free: 4.965 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.109/3.109, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_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.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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.23 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3102, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006888/0.317, allocations: 4.675 MB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004275/0.3213, allocations: 2.436 MB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.3215, allocations: 35.62 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.3227, allocations: 399.2 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009245/0.3236, allocations: 477.6 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008167/0.3245, allocations: 407.5 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3255, allocations: 0.9294 MB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.326, allocations: 322.3 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004864/0.3265, allocations: 358.6 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.327, allocations: 366.3 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.327, allocations: 40 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005662/0.3276, allocations: 363.2 kB / 1.338 GB, free: 6.195 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.3278, allocations: 187.4 kB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.3281, allocations: 266.6 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3291, allocations: 0.8949 MB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3291, allocations: 0 / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3291, allocations: 3.938 kB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.3291, allocations: 0 / 1.339 GB, free: 4.848 MB / 1.029 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.001489/0.3306, allocations: 0.8974 MB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3307, allocations: 12.03 kB / 1.34 GB, free: 3.902 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.3319, allocations: 208.2 kB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/0.3329, allocations: 492.7 kB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.3329, allocations: 33.38 kB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.333, allocations: 44.36 kB / 1.341 GB, free: 3.121 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.3343, allocations: 0.9742 MB / 1.341 GB, free: 1.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.3343, allocations: 11.89 kB / 1.341 GB, free: 1.969 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.3343, allocations: 23.98 kB / 1.341 GB, free: 1.945 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.519e-05/0.3344, allocations: 64.95 kB / 1.342 GB, free: 1.883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009197/0.3354, allocations: 0.5656 MB / 1.342 GB, free: 1.316 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/0.3399, allocations: 4.639 MB / 1.347 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.3406, allocations: 419.5 kB / 1.347 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.341, allocations: 200.7 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.341, allocations: 4 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.341, allocations: 42.5 kB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.341, allocations: 0 / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002562/0.3436, allocations: 1.132 MB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.3436, allocations: 63.56 kB / 1.348 GB, free: 10.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.3442, allocations: 482.7 kB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.3442, allocations: 29.7 kB / 1.349 GB, free: 10.08 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.3445, allocations: 372.2 kB / 1.349 GB, free: 9.707 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.3446, allocations: 115 kB / 1.349 GB, free: 9.594 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.3448, allocations: 114.2 kB / 1.349 GB, free: 9.477 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.345, allocations: 362.8 kB / 1.35 GB, free: 9.113 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.3453, allocations: 197.2 kB / 1.35 GB, free: 8.918 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/0.3458, allocations: 447.9 kB / 1.35 GB, free: 8.367 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/0.3467, allocations: 0.6994 MB / 1.351 GB, free: 7.551 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.3467, allocations: 11.94 kB / 1.351 GB, free: 7.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001415/0.3481, allocations: 0.7975 MB / 1.352 GB, free: 6.719 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3481, allocations: 8 kB / 1.352 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.3482, allocations: 8 kB / 1.352 GB, free: 6.703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.3487, allocations: 153 kB / 1.352 GB, free: 6.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.3492, allocations: 123.7 kB / 1.352 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.3529, allocations: 3.969 MB / 1.356 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.3535, allocations: 35.91 kB / 1.356 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.3535, allocations: 28 kB / 1.356 GB, free: 2.078 MB / 1.045 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.0002998/0.3538, allocations: 217.9 kB / 1.356 GB, free: 1.855 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.3539, allocations: 67.5 kB / 1.356 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.355, allocations: 0.5889 MB / 1.357 GB, free: 1.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.355, allocations: 4 kB / 1.357 GB, free: 1.176 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.355, allocations: 4 kB / 1.357 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3551, allocations: 3.984 kB / 1.357 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.357, allocations: 1.126 MB / 1.358 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.357, allocations: 4 kB / 1.358 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.3572, allocations: 55.89 kB / 1.358 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.3577, allocations: 140.1 kB / 1.358 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.3577, allocations: 8.219 kB / 1.358 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.3613, allocations: 3.961 MB / 1.362 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.3613, allocations: 7.938 kB / 1.362 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3624, allocations: 0.7004 MB / 1.363 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.3626, allocations: 87.58 kB / 1.363 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.3627, allocations: 8 kB / 1.363 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.3629, allocations: 20.12 kB / 1.363 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.363, allocations: 43.83 kB / 1.363 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.363, allocations: 8 kB / 1.363 GB, free: 10.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003444/0.3634, allocations: 310.9 kB / 1.363 GB, free: 10.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3634, allocations: 0 / 1.363 GB, free: 10.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000635/0.364, allocations: 140 kB / 1.363 GB, free: 10.12 MB / 1.061 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.0001441/0.3642, allocations: 119.1 kB / 1.364 GB, free: 9.992 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.3656, allocations: 0.8552 MB / 1.364 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3656, allocations: 0 / 1.364 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008628/0.3665, allocations: 0.5717 MB / 1.365 GB, free: 8.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3675, allocations: 195.8 kB / 1.365 GB, free: 8.289 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3692, allocations: 1.056 MB / 1.366 GB, free: 7.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3696, allocations: 319.8 kB / 1.366 GB, free: 6.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003076/0.3699, allocations: 117.1 kB / 1.367 GB, free: 6.723 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.37, allocations: 39.38 kB / 1.367 GB, free: 6.684 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/0.37, allocations: 0 / 1.367 GB, free: 6.684 MB / 1.061 GB Notification: Performance of Templates: time 0.01631/0.3863, allocations: 8.704 MB / 1.375 GB, free: 14.19 MB / 1.076 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.49896841100417]