Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001554/0.001554, allocations: 113.9 kB / 17.13 MB, free: 5.938 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.001577/0.001577, allocations: 197.2 kB / 20.08 MB, free: 3 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.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 443.5 MB / 0.7293 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 64.14 kB / 1.057 GB, free: 2.09 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3112, allocations: 160.7 MB / 1.214 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007047/0.3183, allocations: 4.953 MB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004487/0.3228, allocations: 2.51 MB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004975/0.3233, allocations: 27.81 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.3247, allocations: 413.8 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.326, allocations: 477.6 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.327, allocations: 402.4 kB / 1.223 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001278/0.3283, allocations: 0.9212 MB / 1.224 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/0.3288, allocations: 286.5 kB / 1.224 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005538/0.3294, allocations: 350.6 kB / 1.224 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.3299, allocations: 370.4 kB / 1.224 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.389e-05/0.33, allocations: 40 kB / 1.225 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000838/0.3308, allocations: 415.1 kB / 1.225 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.331, allocations: 183.3 kB / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.3314, allocations: 318.2 kB / 1.225 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.3327, allocations: 0.8909 MB / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3327, allocations: 0 / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3327, allocations: 0 / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.3327, allocations: 0 / 1.226 GB, free: 4.5 MB / 0.9669 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.001655/0.3343, allocations: 0.9688 MB / 1.227 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3344, allocations: 11.98 kB / 1.227 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.3357, allocations: 208.2 kB / 1.227 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009024/0.3366, allocations: 0.5612 MB / 1.228 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.3366, allocations: 33.36 kB / 1.228 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/0.3367, allocations: 48.36 kB / 1.228 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.3379, allocations: 0.8524 MB / 1.229 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.3379, allocations: 3.938 kB / 1.229 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.338, allocations: 20 kB / 1.229 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.581e-05/0.3381, allocations: 68.95 kB / 1.229 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008838/0.339, allocations: 0.5694 MB / 1.23 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005316/0.3443, allocations: 5.643 MB / 1.235 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.345, allocations: 430.2 kB / 1.235 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.3453, allocations: 200.7 kB / 1.236 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.3454, allocations: 4.531 kB / 1.236 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.3454, allocations: 42.55 kB / 1.236 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 2.475e-06/0.3454, allocations: 0 / 1.236 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002908/0.3483, allocations: 1.514 MB / 1.237 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3484, allocations: 51.69 kB / 1.237 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006243/0.349, allocations: 0.5069 MB / 1.238 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.349, allocations: 37.64 kB / 1.238 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.3493, allocations: 363.8 kB / 1.238 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.3494, allocations: 126.9 kB / 1.238 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.3496, allocations: 114.2 kB / 1.238 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.3498, allocations: 366.8 kB / 1.239 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.3501, allocations: 201.2 kB / 1.239 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.3507, allocations: 443.3 kB / 1.239 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009162/0.3516, allocations: 0.6915 MB / 1.24 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3516, allocations: 4 kB / 1.24 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001557/0.3531, allocations: 0.8056 MB / 1.241 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.3532, allocations: 12 kB / 1.241 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.3532, allocations: 8 kB / 1.241 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.3537, allocations: 160.6 kB / 1.241 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.3542, allocations: 127.7 kB / 1.241 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.3582, allocations: 4.34 MB / 1.245 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.3587, allocations: 31.97 kB / 1.245 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.3587, allocations: 28 kB / 1.245 GB, free: 15.48 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.0003186/0.359, allocations: 217.6 kB / 1.246 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3591, allocations: 63.62 kB / 1.246 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.3603, allocations: 0.601 MB / 1.246 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3603, allocations: 8 kB / 1.246 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3603, allocations: 0 / 1.246 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3603, allocations: 3.984 kB / 1.246 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.3623, allocations: 1.259 MB / 1.247 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.3623, allocations: 4 kB / 1.247 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.3626, allocations: 55.89 kB / 1.247 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/0.363, allocations: 144.4 kB / 1.248 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.363, allocations: 11.94 kB / 1.248 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003858/0.3669, allocations: 4.329 MB / 1.252 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3669, allocations: 4.031 kB / 1.252 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3681, allocations: 0.7079 MB / 1.253 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.3683, allocations: 172.7 kB / 1.253 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.3684, allocations: 16 kB / 1.253 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.3687, allocations: 19.97 kB / 1.253 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.3687, allocations: 35.84 kB / 1.253 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.3688, allocations: 8 kB / 1.253 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004019/0.3692, allocations: 338.8 kB / 1.253 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3692, allocations: 0 / 1.253 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006899/0.3698, allocations: 140 kB / 1.253 GB, free: 6.738 MB / 0.9981 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.0001742/0.37, allocations: 119.1 kB / 1.253 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.3716, allocations: 1.01 MB / 1.254 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.3716, allocations: 4 kB / 1.254 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009537/0.3726, allocations: 0.7263 MB / 1.255 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.3736, allocations: 207.2 kB / 1.255 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.3754, allocations: 1.113 MB / 1.256 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.376, allocations: 0.9098 MB / 1.257 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.3761, allocations: 43.44 kB / 1.257 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of SimCode: time 9.41e-07/0.3761, allocations: 0 / 1.257 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of Templates: time 0.5691/0.9452, allocations: 18.4 MB / 1.275 GB, free: 46.92 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.220286172116175]