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.000992/0.000992, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001006/0.001006, allocations: 181 kB / 24.09 MB, free: 416 kB / 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 0.9323/0.9323, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.803/1.803, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.692e-05, allocations: 7.453 kB / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003791/0.003818, allocations: 3.793 MB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.005652, allocations: 1.408 MB / 0.8171 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.005859, allocations: 36.31 kB / 0.8171 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.006347, allocations: 164 kB / 0.8173 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.006811, allocations: 360.8 kB / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.007566, allocations: 344.4 kB / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006635/0.00823, allocations: 0.9564 MB / 0.8189 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.008584, allocations: 322.4 kB / 0.8192 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.009016, allocations: 498.6 kB / 0.8197 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.009363, allocations: 328.3 kB / 0.82 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.00941, allocations: 37.44 kB / 0.82 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.009575, allocations: 115.7 kB / 0.8201 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.009693, allocations: 187.4 kB / 0.8203 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.009834, allocations: 211.4 kB / 0.8205 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.01026, allocations: 0.5065 MB / 0.821 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01026, allocations: 0 / 0.821 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.01026, allocations: 4.969 kB / 0.821 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.01027, allocations: 0 / 0.821 GB, free: 8.238 MB / 0.7761 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.0007907/0.01106, allocations: 0.9583 MB / 0.8219 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.0111, allocations: 8.031 kB / 0.8219 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.01161, allocations: 212.1 kB / 0.8221 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.01208, allocations: 0.5116 MB / 0.8226 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.01211, allocations: 33.36 kB / 0.8227 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.01216, allocations: 48.36 kB / 0.8227 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.01269, allocations: 0.8182 MB / 0.8235 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.01271, allocations: 12.58 kB / 0.8235 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.01274, allocations: 25.2 kB / 0.8236 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.999e-05/0.0128, allocations: 68.89 kB / 0.8236 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.01304, allocations: 261.7 kB / 0.8239 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.01569, allocations: 6.164 MB / 0.8299 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.01592, allocations: 247.9 kB / 0.8301 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.016, allocations: 76.16 kB / 0.8302 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.01602, allocations: 11.44 kB / 0.8302 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.01604, allocations: 41.27 kB / 0.8303 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.01604, allocations: 0 / 0.8303 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.0008837/0.01693, allocations: 0.5662 MB / 0.8308 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.01695, allocations: 55.69 kB / 0.8309 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.01721, allocations: 0.4943 MB / 0.8313 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.01723, allocations: 29.7 kB / 0.8314 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.01767, allocations: 431.4 kB / 0.8318 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.01772, allocations: 123 kB / 0.8319 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.01781, allocations: 119.8 kB / 0.832 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.01794, allocations: 0.5428 MB / 0.8325 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.018, allocations: 65.27 kB / 0.8326 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.01822, allocations: 438.8 kB / 0.833 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.01856, allocations: 0.5516 MB / 0.8336 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.01857, allocations: 4 kB / 0.8336 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005151/0.01908, allocations: 0.5622 MB / 0.8341 GB, free: 9.875 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.0191, allocations: 12 kB / 0.8341 GB, free: 9.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.0191, allocations: 8 kB / 0.8341 GB, free: 9.855 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.01934, allocations: 118.3 kB / 0.8342 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.01955, allocations: 111.8 kB / 0.8344 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.02165, allocations: 5.184 MB / 0.8394 GB, free: 4.082 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.0218, allocations: 20 kB / 0.8394 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.02182, allocations: 24 kB / 0.8395 GB, free: 4.039 MB / 0.7917 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.0001185/0.02193, allocations: 204.4 kB / 0.8397 GB, free: 3.828 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.02199, allocations: 71.62 kB / 0.8397 GB, free: 3.758 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.02235, allocations: 337.1 kB / 0.84 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.02235, allocations: 4 kB / 0.84 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02235, allocations: 0 / 0.84 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02236, allocations: 3.984 kB / 0.84 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/0.02304, allocations: 0.7914 MB / 0.8408 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.02304, allocations: 4 kB / 0.8408 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.02315, allocations: 43.91 kB / 0.8409 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.02334, allocations: 114.3 kB / 0.841 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.02336, allocations: 20.03 kB / 0.841 GB, free: 2.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.02551, allocations: 5.175 MB / 0.846 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.02552, allocations: 7.938 kB / 0.8461 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.02591, allocations: 0.5351 MB / 0.8466 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.02599, allocations: 83.56 kB / 0.8467 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.02602, allocations: 12.19 kB / 0.8467 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.02612, allocations: 8 kB / 0.8467 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.02616, allocations: 35.88 kB / 0.8467 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.02617, allocations: 8 kB / 0.8467 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001394/0.02631, allocations: 298.7 kB / 0.847 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.02631, allocations: 0 / 0.847 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003431/0.02665, allocations: 148 kB / 0.8471 GB, free: 11.61 MB / 0.8073 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 9.369e-05/0.02675, allocations: 115.2 kB / 0.8473 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.02731, allocations: 0.803 MB / 0.848 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02731, allocations: 0 / 0.848 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.02763, allocations: 0.6515 MB / 0.8487 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.02814, allocations: 187.8 kB / 0.8489 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/0.02913, allocations: 0.9866 MB / 0.8498 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.745e-05/0.02923, allocations: 154 kB / 0.85 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001358/0.02937, allocations: 69.12 kB / 0.85 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.02959, allocations: 222.1 kB / 0.8502 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/0.02959, allocations: 0 / 0.8502 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of Templates: time 0.009545/0.03914, allocations: 8.399 MB / 0.8584 GB, free: 8 kB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.109875621739775]