Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001573/0.001573, allocations: 110 kB / 18.93 MB, free: 2.945 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.002186/0.002186, allocations: 190.2 kB / 22.23 MB, free: 5.156 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.427/1.427, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.159/3.159, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 58.31 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3266, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006936/0.3335, allocations: 5.043 MB / 1.321 GB, free: 4.641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.3377, allocations: 2.561 MB / 1.323 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.3379, allocations: 35.62 kB / 1.323 GB, free: 2.035 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.3391, allocations: 425.8 kB / 1.324 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.3403, allocations: 461.6 kB / 1.324 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3413, allocations: 417.7 kB / 1.325 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.3425, allocations: 0.9256 MB / 1.326 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004649/0.343, allocations: 266.8 kB / 1.326 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.3434, allocations: 350.7 kB / 1.326 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.3439, allocations: 374.4 kB / 1.327 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.344, allocations: 36 kB / 1.327 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000704/0.3447, allocations: 411 kB / 1.327 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.3449, allocations: 195.3 kB / 1.327 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.3452, allocations: 318.2 kB / 1.327 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.3464, allocations: 0.887 MB / 1.328 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.3464, allocations: 4 kB / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3464, allocations: 0 / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.3464, allocations: 0 / 1.328 GB, free: 13.01 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.001445/0.3478, allocations: 0.8896 MB / 1.329 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3479, allocations: 12.03 kB / 1.329 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3491, allocations: 216.1 kB / 1.329 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.35, allocations: 488.8 kB / 1.33 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.35, allocations: 33.38 kB / 1.33 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.3501, allocations: 44.36 kB / 1.33 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.3513, allocations: 0.8448 MB / 1.331 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.3513, allocations: 11.94 kB / 1.331 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.3513, allocations: 23.98 kB / 1.331 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.273e-05/0.3514, allocations: 64.95 kB / 1.331 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/0.3523, allocations: 0.5656 MB / 1.331 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004723/0.357, allocations: 5.582 MB / 1.337 GB, free: 3.684 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.3577, allocations: 430.2 kB / 1.337 GB, free: 3.254 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.358, allocations: 205.8 kB / 1.338 GB, free: 3.051 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.358, allocations: 3.984 kB / 1.338 GB, free: 3.047 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.358, allocations: 38.56 kB / 1.338 GB, free: 3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.3581, allocations: 0 / 1.338 GB, free: 3 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.00243/0.3605, allocations: 1.141 MB / 1.339 GB, free: 1.836 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3605, allocations: 55.69 kB / 1.339 GB, free: 1.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.3611, allocations: 0.5029 MB / 1.339 GB, free: 1.258 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.3611, allocations: 33.7 kB / 1.339 GB, free: 1.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.3614, allocations: 371.7 kB / 1.34 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-05/0.3615, allocations: 119 kB / 1.34 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.3616, allocations: 110.2 kB / 1.34 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3618, allocations: 370.7 kB / 1.34 GB, free: 256 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.3621, allocations: 197.2 kB / 1.34 GB, free: 56 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.3626, allocations: 455 kB / 1.341 GB, free: 15.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.3635, allocations: 0.6876 MB / 1.341 GB, free: 14.69 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3635, allocations: 4 kB / 1.341 GB, free: 14.69 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001304/0.3648, allocations: 0.8094 MB / 1.342 GB, free: 13.86 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3648, allocations: 12 kB / 1.342 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3648, allocations: 8 kB / 1.342 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/0.3653, allocations: 156.6 kB / 1.342 GB, free: 13.67 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.3658, allocations: 123.8 kB / 1.343 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/0.3693, allocations: 4.042 MB / 1.346 GB, free: 9.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.3697, allocations: 31.97 kB / 1.347 GB, free: 9.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.3697, allocations: 31.94 kB / 1.347 GB, free: 9.098 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.0002689/0.37, allocations: 217.7 kB / 1.347 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.3701, allocations: 63.62 kB / 1.347 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.3712, allocations: 0.6048 MB / 1.347 GB, free: 8.184 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.3712, allocations: 8 kB / 1.347 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3712, allocations: 0 / 1.347 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3712, allocations: 0 / 1.347 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.3732, allocations: 1.231 MB / 1.349 GB, free: 6.859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.3733, allocations: 4 kB / 1.349 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.3735, allocations: 55.89 kB / 1.349 GB, free: 6.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004326/0.3739, allocations: 144.4 kB / 1.349 GB, free: 6.645 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.374, allocations: 11.94 kB / 1.349 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003551/0.3775, allocations: 4.03 MB / 1.353 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3775, allocations: 0 / 1.353 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3786, allocations: 0.7128 MB / 1.353 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.3789, allocations: 99.45 kB / 1.354 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.379, allocations: 12 kB / 1.354 GB, free: 1.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.3792, allocations: 23.97 kB / 1.354 GB, free: 1.359 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.3793, allocations: 27.89 kB / 1.354 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3793, allocations: 8 kB / 1.354 GB, free: 1.324 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004069/0.3797, allocations: 338.8 kB / 1.354 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3797, allocations: 0 / 1.354 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006643/0.3804, allocations: 148 kB / 1.354 GB, free: 0.8516 MB / 1.045 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.0001639/0.3805, allocations: 111.2 kB / 1.354 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.3819, allocations: 0.863 MB / 1.355 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3819, allocations: 0 / 1.355 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008028/0.3828, allocations: 0.5686 MB / 1.356 GB, free: 15.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008972/0.3836, allocations: 209.1 kB / 1.356 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.3853, allocations: 1.069 MB / 1.357 GB, free: 13.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.3858, allocations: 0.9098 MB / 1.358 GB, free: 12.96 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003068/0.3861, allocations: 125.3 kB / 1.358 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/0.3862, allocations: 39.44 kB / 1.358 GB, free: 12.8 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3862, allocations: 0 / 1.358 GB, free: 12.8 MB / 1.061 GB Notification: Performance of Templates: time 0.01516/0.4014, allocations: 8.052 MB / 1.366 GB, free: 4.836 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.101631949655712]